First some background. I have two "servers":
1) Windows XP with Apache 1.3.26 and PHP 4.2.2
2) GNU/Linux with Apache 1.3.26 and PHP 4.2.3 compiled in statically
Both are working well, but I now want to add PDFlib support to both servers.
On the win32 machine it was as easy as uncommentin
That does help, yes. So basically there is no way to access associative
arrays using numerical indices?
I was hoping I could access by either name OR number, but apparently not.
Thanks!
-- Cameron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Can anyone explain why the following code operates the way it does in my
comments?
'A', 'b' => 'B', 'c' => 'C');
if (array_key_exists(2, $test)) echo "It works by key number!"; // Does not
work.
if (array_key_exists('c', $test)) echo "It works by key name!"; // Works.
print_r(array_keys($tes
3 matches
Mail list logo