Home
last modified time | relevance | path

Searched refs:from (Results 176 – 200 of 1481) sorted by relevance

12345678910>>...60

/PHP-8.1/Zend/tests/enum/
H A Dbacked-from-invalid-int.phpt2 BackedEnum::from() reject invalid int
12 var_dump(Foo::from(2));
H A Dbacked-negative-int.phpt13 var_dump(Foo::from(-1));
14 var_dump(Foo::from(-2));
/PHP-8.1/ext/spl/tests/
H A DarrayObject_setIteratorClass_error1.phpt46 …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 Dproperty_recreate_protected.phpt22 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 Dbug_33689.phpt21 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 Dpdo_mysql_param_str_natl.phpt26 var_dump($db->query('SELECT * from test'));
27 foreach ($db->query('SELECT * from test') as $row) {
40 string(18) "SELECT * from test"
H A Dpdo_mysql_stmt_fetch_serialize.phpt68 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 Dwarning_float_does_not_fit_zend_long_arrays.phpt29 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 Dcp5022x_encoding.phpt102 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 Dbug71434.phpt10 from serial import Serial
11 from sys import exit
/PHP-8.1/ext/ffi/tests/
H A D301.phpt12 $ffi->printf("Hello World from %s!\n", "PHP");
15 Hello World from PHP!
H A D302.phpt13 $ffi->printf("Hello World from %s!\n", "PHP");
16 Hello World from PHP!
H A D303.phpt13 $ffi->printf("Hello World from %s!\n", "PHP");
16 Hello World from PHP!
/PHP-8.1/Zend/tests/generators/
H A Dbug78434.phpt13 yield from $generator;
17 yield from $generator;
H A Dyield_from_chain_dtor_order.phpt10 yield from gen2();
13 yield from $g;
/PHP-8.1/ext/standard/tests/dir/
H A Dscandir_variation5.phpt13 * 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 Dimp_res_2.phpt29 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 Dbug44206.phpt19 $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 Duserwrapper.phpt10 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 Dbug69442.phpt44 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 Dbug77022.phpt21 $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 Dbug25614.phpt2 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 Dcorrupt_006.phpt2 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 Dpdo_oci_attr_prefetch_1.phpt25 $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 Dstream_get_meta_data_socket_variation4.phpt22 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:

Completed in 43 milliseconds

12345678910>>...60