/PHP-8.1/Zend/tests/enum/ |
H A D | backed-from-invalid-int.phpt | 2 BackedEnum::from() reject invalid int 12 var_dump(Foo::from(2));
|
H A D | backed-negative-int.phpt | 13 var_dump(Foo::from(-1)); 14 var_dump(Foo::from(-2));
|
/PHP-8.1/ext/spl/tests/ |
H A D | arrayObject_setIteratorClass_error1.phpt | 46 …teratorClass(): Argument #1 ($iteratorClass) must be a class name derived from ArrayIterator, nonE… 47 …teratorClass(): Argument #1 ($iteratorClass) must be a class name derived from ArrayIterator, stdC… 48 …:__construct(): Argument #3 ($iteratorClass) must be a class name derived from ArrayIterator, nonE… 49 …:__construct(): Argument #3 ($iteratorClass) must be a class name derived from ArrayIterator, stdC…
|
/PHP-8.1/tests/classes/ |
H A D | property_recreate_protected.phpt | 22 echo "Unset and recreate a protected property from property's declaring class scope:\n"; 27 echo "\nUnset and recreate a protected property from subclass:\n"; 39 Unset and recreate a protected property from property's declaring class scope: 45 Unset and recreate a protected property from subclass:
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | bug_33689.phpt | 21 var_dump($db->query('SELECT * from test')); 22 foreach ($db->query('SELECT * from test') as $row) { 26 $stmt = $db->prepare('SELECT * from test'); 48 string(18) "SELECT * from test"
|
H A D | pdo_mysql_param_str_natl.phpt | 26 var_dump($db->query('SELECT * from test')); 27 foreach ($db->query('SELECT * from test') as $row) { 40 string(18) "SELECT * from test"
|
H A D | pdo_mysql_stmt_fetch_serialize.phpt | 68 return 'Data from serialize'; 97 …printf("\nUsing PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE to fetch the object from DB and unserialize … 103 printf("\nUsing PDO::FETCH_CLASS to fetch the object from DB and unserialize it...\n"); 131 myclass::unserialize('Data from serialize') 137 Using PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE to fetch the object from DB and unserialize it... 142 myclass::unserialize('C:7:"myclass":19:{Data from serialize}') 148 Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it... 149 myclass::__set(myobj, 'C:7:"myclass":19:{Data from serialize}') 155 string(38) "C:7:"myclass":19:{Data from serialize}"
|
/PHP-8.1/Zend/tests/float_to_int/ |
H A D | warning_float_does_not_fit_zend_long_arrays.phpt | 29 Deprecated: Implicit conversion from float 1.0E+121 to int loses precision in %s on line %d 31 Deprecated: Implicit conversion from float 1.0E+121 to int loses precision in %s on line %d 45 Deprecated: Implicit conversion from float 1.0E+121 to int loses precision in %s on line %d 51 Deprecated: Implicit conversion from float 1.0E+121 to int loses precision in %s on line %d
|
/PHP-8.1/ext/mbstring/tests/ |
H A D | cp5022x_encoding.phpt | 102 identifyValidString($from, $encoding); 108 if ($from[0] == "\x0F") 109 $from = substr($from, 1, strlen($from) - 1); 111 if (substr($from, 0, 3) == "\x1B(B") 112 $from = substr($from, 3, strlen($from) - 3); 115 …if (strpos($from, "\x1B\$B") !== false || strpos($from, "\x1B(J") !== false || strpos($from, "\x1B… 116 $from .= "\x1B(B"; 117 if ($encoding == 'CP50222' && $from[0] == "\x0E") 118 $from .= "\x0F"; 124 function testInvalid($from, $to, $encoding) { [all …]
|
/PHP-8.1/ext/fileinfo/tests/ |
H A D | bug71434.phpt | 10 from serial import Serial 11 from sys import exit
|
/PHP-8.1/ext/ffi/tests/ |
H A D | 301.phpt | 12 $ffi->printf("Hello World from %s!\n", "PHP"); 15 Hello World from PHP!
|
H A D | 302.phpt | 13 $ffi->printf("Hello World from %s!\n", "PHP"); 16 Hello World from PHP!
|
H A D | 303.phpt | 13 $ffi->printf("Hello World from %s!\n", "PHP"); 16 Hello World from PHP!
|
/PHP-8.1/Zend/tests/generators/ |
H A D | bug78434.phpt | 13 yield from $generator; 17 yield from $generator;
|
H A D | yield_from_chain_dtor_order.phpt | 10 yield from gen2(); 13 yield from $g;
|
/PHP-8.1/ext/standard/tests/dir/ |
H A D | scandir_variation5.phpt | 13 * remove the execute permission from the parent dir and test scandir() on child dir 14 * 1. remove write & execute permission from the 1st parent and test scandir() 15 * 2. remove execute permission from 2nd parent and test scandir() 40 // remove the write and execute permission from sub parent 46 // remove the execute permission from parent dir, allowing all permission for sub dir
|
/PHP-8.1/ext/oci8/tests/ |
H A D | imp_res_2.phpt | 29 open c1 for select * from dual where 1 = 0; 36 open c1 for select * from dual; 38 open c1 for select * from dual where 1 = 0; 45 open c1 for select * from dual where 1 = 0; 47 open c1 for select * from dual;
|
H A D | bug44206.phpt | 19 $stmt = "select cursor (select $x from dual) a, 20 cursor (select $x from dual) b 21 from dual";
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | userwrapper.phpt | 10 function rename($from, $to) { 11 print "Renaming $from to $to\n"; 37 rename('test://example.com/path/to/from', 'test://example.com/path/to/to'); 39 @rename('test://example.com/path/to/from', 'http://example.com/path/to/to'); 48 Renaming test://example.com/path/to/from to test://example.com/path/to/to
|
H A D | bug69442.phpt | 44 echo 'read from pipe 0: '; 49 echo 'read from pipe 3: '; 56 read from pipe 0: string(5) "foo 58 read from pipe 3: string(3) "42
|
/PHP-8.1/ext/phar/tests/ |
H A D | bug77022.phpt | 21 $phar->addFromString("test-from-string", 'test-file-phar'); 24 var_dump(decoct(stat(__DIR__ . '/test-from-string')['mode'])); 26 unlink(__DIR__ . '/test-from-string');
|
/PHP-8.1/ext/openssl/tests/ |
H A D | bug25614.phpt | 2 openssl: get public key from generated private key 15 Warning: openssl_pkey_get_public(): Don't know how to get public key from this private key %s
|
/PHP-8.1/ext/phar/tests/zip/ |
H A D | corrupt_006.phpt | 2 Phar: zip with file created from stdin 14 phar error: Cannot process zips created from stdin (zero-length filename) in zip-based phar "%sstdi…
|
/PHP-8.1/ext/pdo_oci/tests/ |
H A D | pdo_oci_attr_prefetch_1.phpt | 25 $s = $dbh->prepare("select dummy from dual" ); 36 $s = $dbh->prepare("select dummy from dual" ); 47 $s = $dbh->prepare("select dummy from dual" ); 58 $s = $dbh->prepare("select dummy from dual" );
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_socket_variation4.phpt | 22 echo "\n\nRead a line from the client:\n"; 26 echo "\n\nClose the server side socket and read the remaining data from the client:\n"; 57 Read a line from the client: 76 Close the server side socket and read the remaining data from the client:
|