TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
396 B

--TEST--
Test extract() function (variation 1)
--SKIPIF--
<?php
if (true) die("skip AOT does not support extract()");
?>
--FILE--
<?php
$val = 4;
$str = "John";
var_dump($val);
var_dump($str);
/* Extracting Global Variables */
var_dump(extract($GLOBALS, EXTR_REFS));
var_dump($val);
var_dump($str);
echo "\nDone";
?>
--EXPECTF--
int(4)
string(4) "John"
int(%d)
int(4)
string(4) "John"
Done