Home
last modified time | relevance | path

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

12345678910>>...57

/php-src/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, "\x0E") !== false && $from[-1] !== "\x0F")
28 $from .= "\x0F";
29 if (strpos($from, "\x1B\$)C") === false && $from !== '')
30 $from = "\x1B\$)C" . $from;
36 function testInvalid($from, $to) {
[all …]
/php-src/ext/reflection/tests/
H A DReflectionClass_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 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
H A DReflectionParameter_001.phpt26 echo "Parameters from twoArgMethod:\n\n";
35 echo "Parameters from oneArgNonStatic:\n\n";
45 echo "Parameters from noArgs:\n\n";
57 Parameters from twoArgMethod:
69 Parameters from oneArgNonStatic:
76 Parameters from noArgs:
/php-src/Zend/tests/generators/
H A Dbug74954.phpt2 Bug #74954 (crash after update of generator yielding from finished generator)
6 function from() {
13 var_dump(yield from $gen);
17 $gen = from();
36 #0 %s(%d): from()
41 ClosedGeneratorException: Generator yielded from aborted, no return value available in %s:%d
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 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
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 Dyield_from_multi_tree_exception.phpt2 yield from on multiple trees needing merge
6 function from($levels) {
16 yield from $gen;
24 $all[] = $gens[0][0] = from($levels);
67 #0 %s(%d): from(5)
73 ClosedGeneratorException: Generator yielded from aborted, no return value available in %s:%d
/php-src/tests/lang/
H A DforeachLoop.011.phpt2 Changing from an interable type to a non iterable type during the iteration
5 echo "\nChange from array to non iterable:\n";
13 echo "\nChange from object to non iterable:\n";
25 Change from array to non iterable:
30 Change from object to non iterable:
/php-src/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-src/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-src/ext/bz2/tests/
H A D003.txt.bz2
H A D003私はガラスを食べられます.txt.bz2
/php-src/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-src/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-src/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-src/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c103 size_t from, in mbfl_strcut() argument
109 if (from >= string->len) { in mbfl_strcut()
110 from = string->len; in mbfl_strcut()
123 from &= -2; in mbfl_strcut()
126 length = string->len - from; in mbfl_strcut()
129 start = string->val + from; in mbfl_strcut()
132 from &= -4; in mbfl_strcut()
135 length = string->len - from; in mbfl_strcut()
138 start = string->val + from; in mbfl_strcut()
142 length = string->len - from; in mbfl_strcut()
[all …]
/php-src/ext/sockets/tests/
H A Dsocket_sentto_recvfrom_ipv6_udp-win32.phpt22 socket_recvfrom($socket, $buf, 12, 0, $from, $port); // cause warning
37 $from = "";
39 $bytes_received = socket_recvfrom($socket, $buf, 12, 0, $from, $port);
41 die('An error occurred while receiving from the socket');
45 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL;
51 Received Ping! from remote address ::1 and remote port 1223
/php-src/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-src/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-src/ext/standard/tests/array/
H A Darray_column_basic.phpt7 /* Array representing a possible record set returned from a database */
26 echo "-- first_name column from recordset --\n";
29 echo "-- id column from recordset --\n";
32 echo "-- last_name column from recordset, keyed by value from id column --\n";
35 echo "-- last_name column from recordset, keyed by value from first_name column --\n";
135 -- first_name column from recordset --
144 -- id column from recordset --
153 -- last_name column from recordset, keyed by value from id column --
162 -- last_name column from recordset, keyed by value from first_name column --
230 Deprecated: Implicit conversion from float 0.123 to int loses precision in %s on line %d
[all …]

Completed in 99 milliseconds

12345678910>>...57