]> granicus.if.org Git - php/commitdiff
Just a little sanity check.
authorAndrey Hristov <andrey@php.net>
Tue, 25 May 1999 21:47:58 +0000 (21:47 +0000)
committerAndrey Hristov <andrey@php.net>
Tue, 25 May 1999 21:47:58 +0000 (21:47 +0000)
ext/standard/basic_functions.c

index d0ca3da550e9ad3be210cfddf99bfdd1d3fb0049..2dcf8f2568f766394473a5bce64b17fe0b9a45aa 100644 (file)
@@ -2286,6 +2286,7 @@ PHP_FUNCTION(extract)
                        if (getParameters(ht, 3, &var_array, &etype, &prefix) == FAILURE) {
                                WRONG_PARAM_COUNT;
                        }
+                       convert_to_long(etype);
                        extype = etype->value.lval;
                        break;