/php-src/Zend/tests/generators/ |
H A D | yield_from_valid_exception.phpt | 2 Exception from valid() during yield from 12 throw new Exception("Exception from valid()"); 18 // the fact that the yield from result is used is relevant. 19 var_dump(yield from new FooBar); 30 Exception from valid()
|
H A D | yield_from_backtrace.phpt | 2 Exceptions in linear yield from setup 5 function from($off) { 14 yield from from(2); 33 #0 %s(%d): from(2) 43 #0 %s(%d): from(2)
|
H A D | yield_from_force_closed.phpt | 2 Cannot "yield from" from force closed generator 14 yield from gen1(); 17 yield from gen1(); 34 Error: Cannot use "yield from" in a force-closed generator in %s:%d
|
/php-src/ext/date/tests/ |
H A D | DateTimeZone_getTransitions_bug1.phpt | 5 function showTransitions(string $tzid, int $from) 7 $to = $from + ((2.5 * 366) * 24 * 60 * 60); 9 echo "{$tzid} from @{$from}-@{$to}:\n\n"; 12 foreach ($tz->getTransitions($from, $to) as $t) { 25 Europe/London from @1648342200-@1727398200: 34 America/Los_Angeles from @1648557596-@1727613596: 42 America/Chicago from @1293861600-@1372917600: 51 Europe/Paris from @1645095600-@1724151600:
|
/php-src/ext/pdo_dblib/tests/ |
H A D | batch_stmt_ins_sel_up_del.phpt | 20 "select * from #test_batch_stmt_ins_sel_up_del;" . 22 "delete from #test_batch_stmt_ins_sel_up_del;" . 23 "select * from #test_batch_stmt_ins_sel_up_del;" . 27 // check results from the create table 31 // check results from the first insert 35 // check results from the select 39 // check results from the update 43 // check results from the delete 47 // check results from the select 51 // check results from the drop
|
H A D | batch_stmt_try.phpt | 19 "select * from #test_batch_stmt_try;" . 26 "select * from #test_batch_stmt_try;" . 27 "delete from #test_batch_stmt_try;" . 31 // check results from the create table 35 // check results from the first insert 39 // check results from the select 43 // check results from try 47 // check results from the update 61 // check results from the select 66 // check results from the delete [all …]
|
H A D | batch_stmt_rowcount.phpt | 25 // check results from the create table 29 // check results from the set rowcount 33 // check results from the first insert 37 // check results from the second insert 41 // check results from the update 45 // check results from the select rowcount 57 "delete from #test_batch_stmt_rowcount;" . 61 // check results from set rowcount 65 // check results from the select 70 // check results from the delete [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | fread_variation1.phpt | 75 // read from file, by giving the file actual size, 107 Reading 1024 bytes from file, expecting 1024 bytes ... OK 114 Reading 1000 bytes from file, expecting 1000 bytes ... OK 122 Reading 1024 bytes from file, expecting 1024 bytes ... OK 129 Reading 1000 bytes from file, expecting 1000 bytes ... OK 137 Reading 1024 bytes from file, expecting 1024 bytes ... OK 144 Reading 1000 bytes from file, expecting 1000 bytes ... OK 152 Reading 1024 bytes from file, expecting 1024 bytes ... OK 159 Reading 1000 bytes from file, expecting 1000 bytes ... OK 167 Reading 1024 bytes from file, expecting 1024 bytes ... OK [all …]
|
H A D | fread_variation3-win32-mb.phpt | 119 Reading 10 bytes from file, expecting 0 bytes ... OK 133 Reading 10 bytes from file, expecting 0 bytes ... OK 147 Reading 10 bytes from file, expecting 0 bytes ... OK 161 Reading 10 bytes from file, expecting 0 bytes ... OK 175 Reading 10 bytes from file, expecting 0 bytes ... OK 189 Reading 10 bytes from file, expecting 0 bytes ... OK 203 Reading 10 bytes from file, expecting 0 bytes ... OK 217 Reading 10 bytes from file, expecting 0 bytes ... OK 231 Reading 10 bytes from file, expecting 0 bytes ... OK 247 Reading 10 bytes from file, expecting 0 bytes ... OK [all …]
|
H A D | fread_variation3-win32.phpt | 119 Reading 10 bytes from file, expecting 0 bytes ... OK 133 Reading 10 bytes from file, expecting 0 bytes ... OK 147 Reading 10 bytes from file, expecting 0 bytes ... OK 161 Reading 10 bytes from file, expecting 0 bytes ... OK 175 Reading 10 bytes from file, expecting 0 bytes ... OK 189 Reading 10 bytes from file, expecting 0 bytes ... OK 203 Reading 10 bytes from file, expecting 0 bytes ... OK 217 Reading 10 bytes from file, expecting 0 bytes ... OK 231 Reading 10 bytes from file, expecting 0 bytes ... OK 247 Reading 10 bytes from file, expecting 0 bytes ... OK [all …]
|
H A D | fread_variation3.phpt | 119 Reading 10 bytes from file, expecting 0 bytes ... OK 133 Reading 10 bytes from file, expecting 0 bytes ... OK 147 Reading 10 bytes from file, expecting 0 bytes ... OK 161 Reading 10 bytes from file, expecting 0 bytes ... OK 175 Reading 10 bytes from file, expecting 0 bytes ... OK 189 Reading 10 bytes from file, expecting 0 bytes ... OK 203 Reading 10 bytes from file, expecting 0 bytes ... OK 217 Reading 10 bytes from file, expecting 0 bytes ... OK 231 Reading 10 bytes from file, expecting 0 bytes ... OK 247 Reading 10 bytes from file, expecting 0 bytes ... OK [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | strtr_variation8.phpt | 81 strtr(): Argument #2 ($from) must be of type array, int given 84 strtr(): Argument #2 ($from) must be of type array, int given 87 strtr(): Argument #2 ($from) must be of type array, int given 90 strtr(): Argument #2 ($from) must be of type array, float given 93 strtr(): Argument #2 ($from) must be of type array, float given 96 strtr(): Argument #2 ($from) must be of type array, float given 108 strtr(): Argument #2 ($from) must be of type array, true given 111 strtr(): Argument #2 ($from) must be of type array, false given 114 strtr(): Argument #2 ($from) must be of type array, true given 120 strtr(): Argument #2 ($from) must be of type array, null given [all …]
|
/php-src/Zend/tests/float_to_int/ |
H A D | warnings_string_float_vars.phpt | 77 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 80 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 83 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 86 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 89 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 92 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 95 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 98 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 101 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 105 Deprecated: Implicit conversion from float-string "6.5" to int loses precision in %s on line %d [all …]
|
H A D | warnings_string_float_literals.phpt | 57 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 60 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 63 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 66 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 69 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 72 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 75 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d 79 Deprecated: Implicit conversion from float-string "6.5" to int loses precision in %s on line %d 82 Deprecated: Implicit conversion from float-string "2.5" to int loses precision in %s on line %d 86 Deprecated: Implicit conversion from float-string "1.5" to int loses precision in %s on line %d [all …]
|
H A D | warnings_float_literals.phpt | 74 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 77 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 80 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 83 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 86 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 89 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 92 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 95 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 99 Deprecated: Implicit conversion from float 6.5 to int loses precision in %s on line %d 102 Deprecated: Implicit conversion from float 2.5 to int loses precision in %s on line %d [all …]
|
H A D | warnings_float_vars.phpt | 96 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 99 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 102 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 105 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 108 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 111 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 114 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 117 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 120 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d 123 Deprecated: Implicit conversion from float 1.5 to int loses precision in %s on line %d [all …]
|
/php-src/Zend/tests/traits/ |
H A D | bug61998.phpt | 50 $f->newFunc(); //from T1 51 $f->func(); //from Foo 54 $b->newFunc(); //from T1 55 $b->func(); //from Bar 56 $b->func2(); //from Bar 57 $b->newFunc2(); //from T2 58 $b->newFunc3(); //from T2 59 $b->func3(); //from Bar
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionProperty_constructor_variation1.phpt | 30 echo "--> Reflect inherited private from global scope:\n"; 38 echo "\n\n--> Reflect inherited private from declaring scope:\n"; 41 echo "\n\n--> Reflect inherited private from declaring scope via subclass:\n"; 44 echo "\n\n--> Reflect inherited private from subclass:\n"; 48 --> Reflect inherited private from global scope: 51 --> Reflect inherited private from declaring scope: 54 --> Reflect inherited private from declaring scope via subclass: 57 --> Reflect inherited private from subclass:
|
/php-src/ext/pdo_odbc/tests/ |
H A D | autocommit_change_mode.phpt | 18 echo "auto commit ON from ON\n"; 23 echo "auto commit OFF from ON\n"; 28 echo "auto commit OFF from OFF\n"; 33 echo "auto commit ON from OFF\n"; 94 auto commit ON from ON 98 auto commit OFF from ON 102 auto commit OFF from OFF 106 auto commit ON from OFF 113 auto commit ON from ON, expect error 117 auto commit OFF from ON, expect error [all …]
|
/php-src/ext/pdo_firebird/tests/ |
H A D | autocommit_change_mode.phpt | 18 echo "auto commit ON from ON\n"; 23 echo "auto commit OFF from ON\n"; 28 echo "auto commit OFF from OFF\n"; 33 echo "auto commit ON from OFF\n"; 94 auto commit ON from ON 98 auto commit OFF from ON 102 auto commit OFF from OFF 106 auto commit ON from OFF 113 auto commit ON from ON, expect error 117 auto commit OFF from ON, expect error [all …]
|
/php-src/tests/lang/ |
H A D | 024.phpt | 540 $j should go from 3 to 4, and $q should go from 3 to 4 556 $j should go from 3 to 4, and $q should go from 3 to 4 572 $j should go from 3 to 4, and $q should go from 3 to 4 765 $j should go from 3 to 4, and $q should go from 3 to 4 781 $j should go from 3 to 4, and $q should go from 3 to 4 797 $j should go from 3 to 4, and $q should go from 3 to 4 990 $j should go from 3 to 4, and $q should go from 3 to 4 1006 $j should go from 3 to 4, and $q should go from 3 to 4 1022 $j should go from 3 to 4, and $q should go from 3 to 4 1215 $j should go from 3 to 4, and $q should go from 3 to 4 [all …]
|
/php-src/ext/intl/ |
H A D | intl_convertcpp.cpp | 55 zend_string* intl_charFromString(const UnicodeString &from, UErrorCode *status) in intl_charFromString() argument 59 if (UNEXPECTED(from.isBogus())) { in intl_charFromString() 65 int32_t capacity = from.length() * 3; in intl_charFromString() 67 if (from.isEmpty()) { in intl_charFromString() 73 const UChar *utf16buf = from.getBuffer(); in intl_charFromString() 75 u_strToUTF8WithSub(ZSTR_VAL(u8res), capacity, &actual_len, utf16buf, from.length(), in intl_charFromString()
|
/php-src/ext/standard/tests/array/ |
H A D | usort_variation11.phpt | 46 Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less … 48 Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less… 50 Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less… 52 Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less … 54 Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less… 56 Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less… 58 Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less … 60 Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less… 62 Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less… 64 Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less … [all …]
|
/php-src/ext/intl/tests/ |
H A D | grapheme.phpt | 112 $res_str .= " from $test[2]"; 179 $res_str .= " from $test[2]"; 245 $res_str .= " from $test[2]"; 310 $res_str .= " from $test[2]"; 824 find "a" in "abc" - grapheme_strpos from 0 = 0 == 0 827 find "a" in "ababc" - grapheme_strpos from 1 = 2 == 2 846 find "ab" in "abc" - grapheme_strpos from 0 = 0 == 0 872 find "A" in "abc" - grapheme_stripos from 0 = 0 == 0 910 find "a" in "abc" - grapheme_strrpos from 0 = 0 == 0 977 substring of "abc" from "3" - grapheme_substr = == [all …]
|
H A D | grapheme2.phpt | 112 $res_str .= " from $test[2]"; 179 $res_str .= " from $test[2]"; 245 $res_str .= " from $test[2]"; 310 $res_str .= " from $test[2]"; 812 find "a" in "abc" - grapheme_strpos from 0 = 0 == 0 815 find "a" in "ababc" - grapheme_strpos from 1 = 2 == 2 834 find "ab" in "abc" - grapheme_strpos from 0 = 0 == 0 860 find "A" in "abc" - grapheme_stripos from 0 = 0 == 0 898 find "a" in "abc" - grapheme_strrpos from 0 = 0 == 0 965 substring of "abc" from "3" - grapheme_substr = == [all …]
|