new $baz();
?>
---EXPECTF--
+--EXPECT--
string(11) "Foo\Bar\Baz"
print "done\n";
?>
---EXPECTF--
+--EXPECT--
- empty ---
bool(false)
bool(true)
print "done\n";
?>
---EXPECTF--
+--EXPECT--
- isset ---
bool(true)
bool(false)
*/
var_dump(date('Y-m-d', strtotime('third Monday December 2008')));
?>
---EXPECTF--
+--EXPECT--
string(10) "2008-12-01"
string(10) "2008-12-08"
string(10) "2008-12-15"
var_dump(date('H:i:s', strtotime('back of 19')));
var_dump(date('H:i:s', strtotime('front of 19')));
?>
---EXPECTF--
+--EXPECT--
string(8) "07:15:00"
string(8) "06:45:00"
string(8) "19:15:00"
var_dump($m);
?>
---EXPECTF--
+--EXPECT--
string(13) "\-oh really\?"
array(1) {
[0]=>
$db->query('DROP TABLE foobar');
?>
---EXPECTF--
+--EXPECT--
array(2) {
["testing(name)"]=>
string(2) "12"
$db->query('DROP TABLE foobar');
?>
---EXPECTF--
+--EXPECT--
array(2) {
["testing(name)"]=>
string(3) "php"
$db->query('DROP TABLE foo');
?>
---EXPECTF--
+--EXPECT--
object(PDOStatement)#2 (1) {
["queryString"]=>
string(17) "SELECT * FROM foo"
var_dump($st->getAttribute(PDO::SQLITE_ATTR_READONLY_STATEMENT));
?>
---EXPECTF--
+--EXPECT--
bool(true)
bool(false)
\ No newline at end of file
<?php if (!extension_loaded("phar")) die("skip"); ?>
--FILE_EXTERNAL--
files/write17.phar
---EXPECTF--
+--EXPECT--
NULL
string(2) "hi"
ok
\ No newline at end of file
<?php if (!extension_loaded("phar")) die("skip"); ?>
--FILE_EXTERNAL--
files/write19.phar
---EXPECTF--
+--EXPECT--
string(2) "hi"
string(3) "hi2"
ok
\ No newline at end of file
var_dump($prop->getValue(new b2));
?>
---EXPECTF--
+--EXPECT--
bool(false)
bool(false)
bool(false)
$list->offsetUnset(0);
var_dump($list);
?>
---EXPECTF--
+--EXPECT--
object(SplDoublyLinkedList)#1 (2) {
["flags":"SplDoublyLinkedList":private]=>
int(0)
$list->offsetUnset(2);
var_dump($list);
?>
---EXPECTF--
+--EXPECT--
object(SplDoublyLinkedList)#1 (2) {
["flags":"SplDoublyLinkedList":private]=>
int(0)
3 => false));
var_dump($array);
?>
---EXPECTF--
+--EXPECT--
object(SplFixedArray)#1 (4) {
[0]=>
NULL
false);
var_dump($array);
?>
---EXPECTF--
+--EXPECT--
object(SplFixedArray)#1 (3) {
[0]=>
int(1)
$array = SplFixedArray::fromArray(array(array('1')));
var_dump($array);
?>
---EXPECTF--
+--EXPECT--
object(SplFixedArray)#1 (1) {
[0]=>
array(1) {
var_dump($fixedArray);
?>
---EXPECTF--
+--EXPECT--
object(SplFixedArray)#1 (5) {
[0]=>
string(14) "PHPNW Testfest"
$array->setSize(2);
var_dump($array);
?>
---EXPECTF--
+--EXPECT--
object(SplFixedArray)#1 (2) {
[0]=>
string(3) "one"
}
?>
---EXPECTF--
+--EXPECT--
string(60) "SQLite3::__construct() expects at least 1 parameter, 0 given"
?>
---EXPECTF--
+--EXPECT--
bool(true)
string(4) "TEST"
bool(true)
?>
--CLEAN--
<?php @unlink(__DIR__ . '/db1.db'); ?>
---EXPECTF--
+--EXPECT--
string(29) "Already initialised DB Object"
echo "Done";
?>
---EXPECTF--
+--EXPECT--
int(3)
int(3)
array(3) {
echo "Done";
?>
---EXPECTF--
+--EXPECT--
int(3)
int(3)
array(3) {
<?php
var_dump(gethostbyname(".toto.toto.toto"));
?>
---EXPECTF--
+--EXPECT--
string(15) ".toto.toto.toto"
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
string(3) "::1"
string(3) "::2"
string(4) "::35"
var_dump(strip_tags('<? ax'));
?>
---EXPECTF--
+--EXPECT--
string(6) "foobar"
string(6) "foobar"
string(6) "foobar"
var_dump(metaphone("scratc"));
?>
---EXPECTF--
+--EXPECT--
string(4) "SKRX"
string(4) "SKR0"
string(5) "SKRTK"
echo "Done";
?>
---EXPECTF--
+--EXPECT--
-- Before sorting: --
array(6) {
[0]=>
var_dump($_FILES);
var_dump($_POST);
?>
---EXPECTF--
+--EXPECT--
array(1) {
["file1"]=>
array(5) {