error con la funcio array_key_exists()
| From: | Juan Icaza | Date: | Sat, 17 Nov 2001 00:05:51 +0000 |
| Subject: | error con la funcio array_key_exists() | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-15750@lists.php.net to get a copy of this message | ||
hola listeros ... estoy intentando usar la funcion array_key_exists()
pero me sale un error:
Call to undefined function: array_key_exists()
este es el codigo...
$search_array = array("first" => 1, "second" => 4);
if (array_key_exists("first", $search_array)) {
echo "The 'first' element is in the array";
}
estoy usando
PHP Version 4.0.1pl2
tienen alguna idea del porque no la puedo usar?
saludos