echo "Done\n";
?>
--EXPECTF--
-Warning: Wrong parameter count for each() in %s on line %d
+Warning: each() expects exactly 1 parameter, 0 given in %s on line %d
NULL
Warning: Variable passed to each() is not an array or object in %s on line %d
echo "Done\n";
?>
--EXPECTF--
-Warning: Wrong parameter count for define() in %s on line %d
+Warning: define() expects at least 2 parameters, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for define() in %s on line %d
+Warning: define() expects at least 2 parameters, 1 given in %s on line %d
NULL
bool(true)
-Notice: Constant true already defined in %s on line %d
-bool(false)
+Warning: define() expects parameter 3 to be boolean, array given in %s on line %d
+NULL
-Notice: Array to string conversion in %s on line %d
-bool(true)
+Warning: define() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
+NULL
bool(true)
bool(true)
bool(true)
Warning: get_class() called without object from outside a class in %s on line %d
bool(false)
-bool(false)
+
+Warning: get_class() expects parameter 1 to be object, Unicode string given in %s on line %d
+NULL
unicode(3) "foo"
unicode(4) "foo2"
Done
echo "Done\n";
?>
--EXPECTF--
-Warning: Wrong parameter count for property_exists() in %s on line %d
+Warning: property_exists() expects exactly 2 parameters, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for property_exists() in %s on line %d
+Warning: property_exists() expects exactly 2 parameters, 1 given in %s on line %d
NULL
bool(true)
bool(false)
echo "Done\n";
?>
--EXPECTF--
-Warning: Wrong parameter count for get_resource_type() in %s on line %d
+Warning: get_resource_type() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-Warning: Supplied argument is not a valid resource handle in %s on line %d
-bool(false)
+Warning: get_resource_type() expects parameter 1 to be resource, Unicode string given in %s on line %d
+NULL
unicode(6) "stream"
unicode(7) "Unknown"
unicode(5) "array"
int(%d)
unicode(5) "array"
-int(%d)
+int(0)
Warning: get_loaded_extensions() expects at most 1 parameter, 2 given in %s on line %d
NULL
echo "Done\n";
?>
--EXPECTF--
-bool(false)
+Warning: func_get_arg() expects exactly 1 parameter, 3 given in %s on line %d
+NULL
Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
bool(false)
-bool(false)
+
+Warning: func_get_arg() expects exactly 1 parameter, 0 given in %s on line %d
+NULL
Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
bool(false)
?>
--EXPECTF--
-object(Exception)#2 (6) {
+object(Exception)#2 (%d) {
[u"message":protected]=>
unicode(3) "foo"
[u"string":u"Exception":private]=>
}
}
}
+ [u"previous":u"Exception":private]=>
+ NULL
}
'test' => '0'
'test_2' => '1'
echo "Done\n";
?>
--EXPECT--
-int(16383)
-int(16383)
-int(14335)
+int(32767)
+int(32767)
+int(30719)
Done