/PHP-7.1/ext/dom/tests/ |
H A D | DOMDocument_strictErrorChecking_variation.phpt | 12 echo "Load document\n"; 16 echo "See if strictErrorChecking is on\n"; 19 echo "Should throw DOMException when strictErrorChecking is on\n"; 23 echo "GOOD. DOMException thrown\n"; 24 echo $e->getMessage() ."\n"; 26 echo "OOPS. Other exception thrown\n"; 30 echo "Turn strictErrorChecking off\n"; 33 echo "See if strictErrorChecking is off\n"; 40 echo "OOPS. DOMException thrown\n"; 41 echo $e->getMessage() ."\n"; [all …]
|
/PHP-7.1/Zend/tests/ |
H A D | bug29210.phpt | 7 echo "test_func1\n"; 10 echo "test_func2\n"; 13 echo "test_func3\n"; 16 echo "test_func4\n"; 22 echo "test_func1 isn't callable from inside\n"; 27 echo "test_func2 isn't callable from inside\n"; 32 echo "test_func3 isn't callable from inside\n"; 72 echo "test_func1 isn't callable from outside\n"; 77 echo "test_func2 isn't callable from outside\n"; 82 echo "test_func3 isn't callable from outside\n"; [all …]
|
H A D | jump04.phpt | 6 echo "1: ok\n"; 8 echo "4: ok\n"; 10 echo "2: ok\n"; 12 echo "3: ok\n"; 15 echo "bug\n"; 17 echo "bug\n";
|
H A D | lsb_002.phpt | 43 echo $testClass->testStaticVar() . "\n"; 44 echo $testClass->testClassConst() . "\n"; 45 echo $testClass->testStaticFunction() . "\n"; 47 echo $childClass1->testStaticVar() . "\n"; 48 echo $childClass1->testClassConst() . "\n"; 49 echo $childClass1->testStaticFunction() . "\n"; 51 echo $childClass2->testStaticVar() . "\n"; 52 echo $childClass2->testClassConst() . "\n"; 53 echo $childClass2->testStaticFunction() . "\n";
|
H A D | ns_010.phpt | 11 echo "class ok\n"; 14 echo "method ok\n"; 23 echo Foo::C; 24 echo Y\Foo::C; 25 echo \X\Foo::C; 26 echo Foo::$var; 27 echo Y\Foo::$var; 28 echo \X\Foo::$var;
|
/PHP-7.1/ext/date/tests/ |
H A D | bug43452.phpt | 9 echo date( DateTime::ISO8601, $day ), "\n"; 11 echo date( DateTime::ISO8601, $day ), "\n"; 13 echo date( DateTime::ISO8601, $day ), "\n"; 15 echo date( DateTime::ISO8601, $day ), "\n\n"; 19 echo date( DateTime::ISO8601, $day ), "\n"; 21 echo date( DateTime::ISO8601, $day ), "\n"; 23 echo date( DateTime::ISO8601, $day ), "\n"; 31 echo date( DateTime::ISO8601, $day ), "\n"; 33 echo date( DateTime::ISO8601, $day ), "\n"; 35 echo date( DateTime::ISO8601, $day ), "\n"; [all …]
|
H A D | bug33578.phpt | 6 echo date('m/d/Y', strtotime('Oct 11')), "\n"; 7 echo date('m/d/Y', strtotime('11 Oct')), "\n"; 8 echo date('m/d/Y', strtotime('11 Oct 2005')), "\n"; 9 echo date('m/d/Y', strtotime('Oct11')), "\n"; 10 echo date('m/d/Y', strtotime('11Oct')), "\n"; 11 echo date('m/d/Y', strtotime('11Oct 2005')), "\n"; 12 echo date('m/d/Y', strtotime('11Oct2005')), "\n";
|
/PHP-7.1/tests/classes/ |
H A D | type_hinting_004.phpt | 7 echo "$errno: $errstr - $errfile($errline)\n"; 14 echo "in f1;\n"; 17 echo "in f2;\n"; 54 echo "in C::f1 (instance);\n"; 56 echo "in C::f1 (static);\n"; 61 echo "in C::f2 (instance);\n"; 63 echo "in C::f2 (static);\n"; 103 echo "in C::f1 (instance);\n"; 105 echo "in C::f1 (static);\n"; 110 echo "in C::f2 (instance);\n"; [all …]
|
/PHP-7.1/ext/oci8/tests/ |
H A D | bug51291_1.phpt | 15 echo "2nd call\n"; 60 else echo $r; 61 echo "\n"; 79 else echo $r; 80 echo "\n"; 98 else echo $r; 99 echo "\n"; 117 else echo $r; 118 echo "\n"; 135 else echo $r; [all …]
|
/PHP-7.1/ext/filter/tests/ |
H A D | 005.phpt | 11 echo $_GET['id']; 12 echo "\n"; 13 echo $_GET['pgurl']; 14 echo "\n"; 15 echo $_REQUEST['id']; 16 echo "\n"; 17 echo $_REQUEST['pgurl'];
|
/PHP-7.1/ext/phar/tests/tar/ |
H A D | phar_setdefaultstub.phpt | 13 $phar['a.php'] = '<php echo "this is a\n"; ?>'; 14 $phar['b.php'] = '<php echo "this is b\n"; ?>'; 15 $phar->setStub('<?php echo "Hello World\n"; __HALT_COMPILER(); ?>'); 19 echo "============================================================================\n"; 20 echo "============================================================================\n"; 26 echo $e->getMessage(). "\n"; 31 echo "============================================================================\n"; 32 echo "============================================================================\n"; 38 echo $e->getMessage(). "\n"; 50 echo $e->getMessage(). "\n"; [all …]
|
/PHP-7.1/ext/phar/tests/zip/ |
H A D | phar_setdefaultstub.phpt | 13 $phar['a.php'] = '<php echo "this is a\n"; ?>'; 14 $phar['b.php'] = '<php echo "this is b\n"; ?>'; 15 $phar->setStub('<?php echo "Hello World\n"; __HALT_COMPILER(); ?>'); 19 echo "============================================================================\n"; 20 echo "============================================================================\n"; 26 echo $e->getMessage(). "\n"; 31 echo "============================================================================\n"; 32 echo "============================================================================\n"; 38 echo $e->getMessage(). "\n"; 50 echo $e->getMessage(). "\n"; [all …]
|
/PHP-7.1/ext/imap/tests/ |
H A D | imap_createmailbox_basic.phpt | 14 echo "*** Testing imap_createmailbox() : basic functionality ***\n"; 23 echo "Newname will be '$newname'\n"; 28 echo "Add a couple of msgs to '$newname' mailbox\n"; 33 echo "Your new mailbox '$newname' has the following status:\n"; 34 echo "Messages: " . $status->messages . "\n"; 35 echo "Recent: " . $status->recent . "\n"; 36 echo "Unseen: " . $status->unseen . "\n"; 37 echo "UIDnext: " . $status->uidnext . "\n"; 38 echo "UIDvalidity: " . $status->uidvalidity . "\n"; 41 echo "imap_status on new mailbox failed: " . imap_last_error() . "\n"; [all …]
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | str_rot13_basic.phpt | 9 echo "*** Testing str_rot13() : basic functionality ***\n"; 11 echo "\nBasic tests\n"; 15 echo "\nEnsure numeric characters are left untouched\n"; 17 echo "Strings equal : TEST PASSED\n"; 19 echo "Strings unequal : TEST FAILED\n"; 22 echo "\nEnsure non-alphabetic characters are left untouched\n"; 24 echo "Strings equal : TEST PASSED\n"; 26 echo "Strings unequal : TEST FAILED\n"; 29 echo "\nEnsure strings round trip\n"; 34 echo "Strings equal : TEST PASSED\n"; [all …]
|
/PHP-7.1/ext/standard/tests/array/ |
H A D | array_walk_variation8.phpt | 14 * echo language construct 17 echo "*** Testing array_walk() : built-in function as callback ***\n"; 21 echo "-- With 'pow' built-in function --\n"; 24 echo "-- With 'min' built-in function --\n"; 27 echo "-- With 'echo' language construct --\n"; 28 var_dump( array_walk($input, "echo")); 30 echo "Done" 38 -- With 'echo' language construct -- 40 Warning: array_walk() expects parameter 2 to be a valid callback, function 'echo' not found or inva…
|
/PHP-7.1/ext/pgsql/tests/ |
H A D | 27large_object_oid.phpt | 17 echo "create LO from int\n"; 20 if (!$oid) echo ("pg_lo_create() error\n"); 21 if ($oid != 21000) echo ("pg_lo_create() wrong id\n"); 25 echo "create LO from string\n"; 28 if (!$oid) echo ("pg_lo_create() error\n"); 29 if ($oid != 21001) echo ("pg_lo_create() wrong id\n"); 33 echo "create LO using default connection\n"; 36 if (!$oid) echo ("pg_lo_create() error\n"); 37 if ($oid != 21002) echo ("pg_lo_create() wrong id\n"); 41 echo "OK";
|
H A D | 26async_query_prepared.phpt | 18 echo "pg_send_prepare() error\n"; 22 echo "pg_connection_status() error\n"; 26 echo "pg_get_result() error\n"; 31 echo "pg_send_execute() error\n"; 39 echo "pg_get_result() error\n"; 43 echo "pg_num_rows() error\n"; 73 echo "pg_send_prepare() error\n"; 81 echo "pg_get_result() error\n"; 87 echo "pg_send_execute() error\n"; 95 echo "pg_get_result() error\n"; [all …]
|
/PHP-7.1/ext/enchant/tests/ |
H A D | broker_free_02.phpt | 18 echo("OK\n"); 22 echo("OK\n"); 31 echo("OK\n"); 34 echo("OK\n"); 37 echo("broker free failed\n"); 40 echo("broker dict free failed\n"); 43 echo("dict add to personal failed\n"); 46 echo("broker request dict failed\n"); 49 echo("init failed\n"); 51 echo("OK\n");
|
/PHP-7.1/ext/spl/tests/ |
H A D | bug45622b.phpt | 6 function __get($n) { echo "In " . __METHOD__ . "!\n"; } 7 function __set($n, $v) { echo "In " . __METHOD__ . "!\n"; } 8 function __isset($n) { echo "In " . __METHOD__ . "!\n"; } 9 function __unset($n) { echo "In " . __METHOD__ . "!\n"; } 13 echo "Doesn't trigger __get.\n"; 14 echo $ao->prop1; 16 echo "Doesn't trigger __set.\n"; 19 echo "Doesn't trigger __unset.\n"; 22 echo "Shouldn't trigger __isset.\n";
|
H A D | dllist_001.phpt | 10 echo "Exception: ".$e->getMessage()."\n"; 15 echo "Exception: ".$e->getMessage()."\n"; 21 echo $dll->pop()."\n"; 25 echo $dll->shift()."\n"; 30 echo $dll->top()."\n"; 31 echo $dll->bottom()."\n"; 38 echo count($dll)."\n"; 39 echo $dll->count()."\n"; 47 echo count($dll)."\n";
|
/PHP-7.1/ext/sysvsem/tests/ |
H A D | nowait.phpt | 14 echo "P: parent process running.\n"; 21 echo "P: failed to parent get semaphore\n"; 25 echo "P: got semaphore $p_sem_id.\n"; 30 echo "P: failed to child get semaphore\n"; 41 echo "P: acquired semaphore $p_sem_id.\n"; 49 echo "P: acquired semaphore $c_sem_id\n"; 56 echo "P: removing semaphore $p_sem_id.\n"; 77 echo "P: failed to release semaphore\n"; 90 echo "C: child process running.\n"; 104 echo "C: releasing semaphore $c_sem_id\n"; [all …]
|
/PHP-7.1/ext/calendar/tests/ |
H A D | gregoriantojd.phpt | 7 echo gregoriantojd( 0, 0, 0). "\n"; 8 echo gregoriantojd( 1, 1, 1582). "\n"; 9 echo gregoriantojd(10, 5, 1582). "\n"; 10 echo gregoriantojd( 1, 1, 1970). "\n"; 11 echo gregoriantojd( 1, 1, 2999). "\n";
|
H A D | jdtojulian.phpt | 7 echo jdtojulian(0). "\n"; 8 echo jdtojulian(2298874). "\n"; 9 echo jdtojulian(2299151). "\n"; 10 echo jdtojulian(2440588). "\n"; 11 echo jdtojulian(2816423). "\n";
|
H A D | jdtogregorian.phpt | 7 echo jdtogregorian(0). "\n"; 8 echo jdtogregorian(2298874). "\n"; 9 echo jdtogregorian(2299151). "\n"; 10 echo jdtogregorian(2440588). "\n"; 11 echo jdtogregorian(2816423). "\n";
|
H A D | juliantojd.phpt | 7 echo juliantojd( 0, 0, 0). "\n"; 8 echo juliantojd( 1, 1, 1582). "\n"; 9 echo juliantojd(10, 5, 1582). "\n"; 10 echo juliantojd( 1, 1, 1970). "\n"; 11 echo juliantojd( 1, 1, 2999). "\n";
|