Home
last modified time | relevance | path

Searched refs:from (Results 51 – 75 of 1353) sorted by relevance

12345678910>>...55

/PHP-8.1/ext/date/tests/
H A Dbug79452.phpt7 $from = new DateTime('2019-06-01');
10 var_dump($from->diff($to)->m);
14 $from = new DateTime('2019-06-01');
17 var_dump($from->diff($to)->m);
/PHP-8.1/ext/reflection/tests/
H A DReflectionObject_getConstants_basic.phpt6 const a = 'hello from C';
13 const a = 'hello from F';
30 string(12) "hello from C"
35 string(12) "hello from C"
40 string(12) "hello from C"
45 string(12) "hello from F"
H A DReflectionObject_getConstant_basic.phpt6 const a = 'hello from C';
13 const a = 'hello from F';
28 string(12) "hello from C"
31 string(12) "hello from C"
34 string(12) "hello from C"
37 string(12) "hello from F"
H A DReflectionFiber_errors.phpt63 Cannot fetch information from a fiber that has not been started or is terminated
64 Cannot fetch information from a fiber that has not been started or is terminated
65 Cannot fetch information from a fiber that has not been started or is terminated
68 Cannot fetch information from a fiber that has not been started or is terminated
69 Cannot fetch information from a fiber that has not been started or is terminated
70 Cannot fetch information from a fiber that has not been started or is terminated
71 Cannot fetch the callable from a fiber that has terminated
/PHP-8.1/tests/classes/
H A Dconstants_basic_003.phpt16 const MY_CONST = "hello from C";
25 string(12) "hello from A"
26 string(12) "hello from C"
27 string(12) "hello from A"
28 string(12) "hello from C"
/PHP-8.1/Zend/tests/generators/
H A Dmultiple_yield_from_on_same_generator.phpt2 Multiple yield from on a same Generator instance
9 var_dump(yield from gen($a + 1));
16 var_dump(yield from $gen);
19 /* Twice a Generator from bar() using yield from on $gen */
H A Dyield_from_aborted_generator_with_children.phpt2 Impossible to yield from a generator which already failed, nested version
6 function from() {
11 yield from $gen;
14 $gen1 = from();
26 Fatal error: Uncaught Error: Generator passed to yield from was aborted without proper return and i…
H A Dmutli_yield_from_with_exception.phpt2 Multiple yield from on a same Generator throwing an Exception
5 function from() {
12 var_dump(yield from $gen);
16 $gen = from();
38 #0 %s(%d): from()
44 ClosedGeneratorException: Generator yielded from aborted, no return value available in %s:%d
/PHP-8.1/ext/bz2/tests/
H A D003.txt.bz2
H A D003私はガラスを食べられます.txt.bz2
/PHP-8.1/ext/mbstring/tests/
H A Diso2022kr_encoding.phpt16 function testValid($from, $to, $bothWays = true) {
17 identifyValidString($from, 'ISO-2022-KR');
18 convertValidString($from, $to, 'ISO-2022-KR', 'UTF-16BE', false);
23 if (strlen($from) > 0 && $from[0] == "\x0F")
24 $from = substr($from, 1, strlen($from) - 1);
27 if (strpos($from, "\x1B\$C") !== false)
28 $from .= "\x0F";
30 convertValidString($to, $from, 'UTF-16BE', 'ISO-2022-KR', false);
34 function testInvalid($from, $to) {
35 testInvalidString($from, $to, 'ISO-2022-KR', 'UTF-16BE');
/PHP-8.1/ext/oci8/tests/
H A Drefcur_prefetch_4.phpt92 // Fetch from PL/SQL
97 echo "Fetch Row from PL/SQL\n";
101 // Fetch from PHP
102 echo "Fetch Row from PHP\n";
112 // Fetch from PHP
117 echo "Fetch Row from PHP\n";
125 // Fetch from PL/SQL
162 Fetch Row from PL/SQL
165 Fetch Row from PHP
173 Fetch Row from PHP
[all …]
H A Dbug51291_1.phpt12 $s = @oci_parse($c, "select ' from dual");
21 $s = @oci_parse($c, "select ' from dual");
73 $s2 = oci_parse($c, 'select 1 from dual');
92 $s = oci_parse($c, 'select 1 from dual');
200 string(29) "select doesnotexist from dual"
211 string(29) "select doesnotexist from dual"
225 string(29) "select doesnotexist from dual"
238 string(29) "select doesnotexist from dual"
252 string(29) "select doesnotexist from dual"
266 string(29) "select doesnotexist from dual"
[all …]
/PHP-8.1/ext/pdo/tests/
H A Dbug_60665.phpt18 case 'oci': $from = 'from dual'; break;
19 case 'firebird': $from = 'from rdb$database'; break;
20 default: $from = ''; break;
22 $statement = $db->prepare("SELECT NULL AS null_value, 0 AS zero, 1 AS one $from");
H A Dbug_43139.phpt21 $from = '';
23 $from = 'from dual';
25 $from = 'FROM RDB$DATABASE';
28 var_dump($db->query("select 0 as abc, 1 as xyz, 2 as def $from")->fetchAll(PDO::FETCH_GROUP));
/PHP-8.1/Zend/tests/float_to_int/
H A Dwarnings_float_literals_assignment_ops.phpt37 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
40 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
43 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
46 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
49 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d
53 Deprecated: Implicit conversion from float 2.5 to int loses precision in %s on line %d
H A Dwarnings_string_float_literals_assignment_ops.phpt37 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
40 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
43 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
46 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
49 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d
53 Deprecated: Implicit conversion from float-string "2.5" to int loses precision in %s on line %d
/PHP-8.1/ext/standard/tests/math/
H A Dround_basic.phpt48 Deprecated: Implicit conversion from float 3.6 to int loses precision in %s on line %d
53 Deprecated: Implicit conversion from float-string "3.6" to int loses precision in %s on line %d
64 Deprecated: Implicit conversion from float 3.6 to int loses precision in %s on line %d
69 Deprecated: Implicit conversion from float-string "3.6" to int loses precision in %s on line %d
80 Deprecated: Implicit conversion from float 3.6 to int loses precision in %s on line %d
96 Deprecated: Implicit conversion from float 3.6 to int loses precision in %s on line %d
112 Deprecated: Implicit conversion from float 3.6 to int loses precision in %s on line %d
128 Deprecated: Implicit conversion from float 3.6 to int loses precision in %s on line %d
144 Deprecated: Implicit conversion from float 3.6 to int loses precision in %s on line %d
160 Deprecated: Implicit conversion from float 3.6 to int loses precision in %s on line %d
[all …]
/PHP-8.1/ext/zend_test/tests/
H A Dobserver_fiber_02.phpt20 <!-- switching from fiber %s to %s -->
23 <!-- switching from fiber %s to %s -->
25 <!-- switching from fiber %s to %s -->
27 <!-- switching from fiber %s to %s -->
H A Dobserver_fiber_06.phpt26 <!-- switching from fiber %s to %s -->
29 <!-- switching from fiber %s to %s -->
31 <!-- switching from fiber %s to %s -->
33 <!-- switching from fiber %s to %s -->
/PHP-8.1/Zend/tests/fibers/
H A Dget-return-from-unstarted-fiber.phpt2 Fiber::getReturn() from unstarted fiber
12 …ot get fiber return value: The fiber has not been started in %sget-return-from-unstarted-fiber.php…
14 #0 %sget-return-from-unstarted-fiber.php(%d): Fiber->getReturn()
16 thrown in %sget-return-from-unstarted-fiber.php on line %d
/PHP-8.1/Zend/tests/enum/
H A Dinternal_enums_strict_types.phpt2 Internal enums from/tryFrom in strict_types=1
10 var_dump(ZendTestStringEnum::from("Test2"));
13 var_dump(ZendTestStringEnum::from(42));
27 ZendTestStringEnum::from(): Argument #1 ($value) must be of type string, int given
/PHP-8.1/ext/standard/tests/file/
H A Dfgets_socket_variation1.phpt31 echo "\n\nRead a line from the client:\n";
34 echo "\n\nRead another line from the client:\n";
37 echo "\n\nClose the server side socket and read the remaining data from the client\n";
51 Read a line from the client:
56 Read another line from the client:
61 Close the server side socket and read the remaining data from the client
/PHP-8.1/ext/sockets/tests/
H A Dsocket_sentto_recvfrom_ipv6_udp-win32.phpt21 socket_recvfrom($socket, $buf, 12, 0, $from, $port); // cause warning
36 $from = "";
38 $bytes_received = socket_recvfrom($socket, $buf, 12, 0, $from, $port);
40 die('An error occurred while receiving from the socket');
44 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL;
50 Received Ping! from remote address ::1 and remote port 1223
/PHP-8.1/ext/pdo_oci/tests/
H A Dpdo_oci_templob_1.phpt17 $clobquery1 = "select TO_CLOB('Hello World') CLOB_DATA from dual";
18 $clobquery2 = "select TO_CLOB('Hello World') CLOB_DATA from dual";
19 $clobquery3 = "select TO_CLOB('Hello World') CLOB_DATA from dual";
20 $clobquery4 = "select TO_CLOB('Hello World') CLOB_DATA from dual";
21 $clobquery5 = "select TO_CLOB('Hello World') CLOB_DATA from dual";
22 $clobquery6 = "select TO_CLOB('Hello World') CLOB_DATA from dual";
23 $clobquery7 = "select TO_CLOB('Hello World') CLOB_DATA from dual";
24 $clobquery8 = "select TO_CLOB('Hello World') CLOB_DATA from dual";
25 $clobquery9 = "select TO_CLOB('Hello World') CLOB_DATA from dual";
26 $clobquery10 = "select TO_CLOB('Hello World') CLOB_DATA from dual";

Completed in 36 milliseconds

12345678910>>...55