#20129 [Com]: ImageTTFText & implode(" ", "$argv")

From: Date: Tue, 29 Oct 2002 00:41:51 +0000
Subject: #20129 [Com]: ImageTTFText & implode(" ", "$argv")
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23611@lists.php.net to get a copy of this message
ID: 20129 Comment by: jbw@justinw.net Reported By: jbw@justinw.net Status: Bogus Bug Type: GD related Operating System: Linux 2.x PHP Version: 4.2.3 New Comment: OK, I am an idot... Setting register_globals to on fixed my problem. When it is set to off I get "Bad arguments to implode()" I am not sure why some of my scripts still work and others don't... Sorry to have logged this bug, of couse it is not a bug... errr Thanks!! - Justin Previous Comments: ------------------------------------------------------------------------ [2002-10-28 17:23:50] rasmus@php.net So stop and debug it without the image-related stuff in there. ------------------------------------------------------------------------ [2002-10-28 17:21:28] jbw@justinw.net Oh, I don't know why I did that.... I took the "" off and it is still not working... errrr... Any ideas? Sorry to take up your guys time on this... - Justin ------------------------------------------------------------------------ [2002-10-28 16:46:26] rasmus@php.net $argv is an array, and implode() takes an array. Sterling is wondering to the powers that be why in God's name you passed $argv in quotes (thereby making it a string) to the implode function. ------------------------------------------------------------------------ [2002-10-28 16:35:07] jbw@justinw.net Ok, the status is changed to Bogus. Is this working as designed and not a problem/bug? Thanks, - Justin ------------------------------------------------------------------------ [2002-10-27 22:07:41] sterling@php.net ohhh, god... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20129 -- Edit this bug report at http://bugs.php.net/?id=20129&edit=1

« previous php.bugs (#23611) next »