/PHP-8.4/ext/reflection/tests/ |
H A D | ReflectionClass_getConstants_basic.phpt | 6 const a = 'hello from C'; 13 const a = 'hello from F'; 26 Constants from class C: 29 string(12) "hello from C" 31 Constants from class D: 34 string(12) "hello from C" 36 Constants from class E: 39 string(12) "hello from C" 41 Constants from class F: 44 string(12) "hello from F" [all …]
|
/PHP-8.4/ext/opcache/jit/ir/ |
H A D | ir_emit.c | 483 from = copies[0].from; in ir_parallel_copy() 501 from = copies[i].from; in ir_parallel_copy() 505 loc[from] = from; in ir_parallel_copy() 516 from = copies[i].from; in ir_parallel_copy() 548 if (from == r && IR_REGSET_IN(todo, from)) { in ir_parallel_copy() 695 IR_ASSERT(loc[from] == from); in ir_dessa_resolve_cycle() 791 from = copies[0].from; in ir_dessa_parallel_copy() 806 from = copies[i].from; in ir_dessa_parallel_copy() 811 loc[from] = from; in ir_dessa_parallel_copy() 843 if (from == r && ir_bitset_in(todo, from) && from != tmp_reg && from != tmp_fp_reg) { in ir_dessa_parallel_copy() [all …]
|
/PHP-8.4/tests/lang/ |
H A D | bug24951.phpt | 12 echo "Hello from t1 1 "; 13 echo "Hello from t1 2 "; 19 echo "Hello from t2 1 "; 21 echo "Hello from t2 2 "; 27 echo "Hello from t3 1 "; 29 echo "Hello from t3 2 "; 38 [Hello from t1 1 Hello from t1 2 ] 40 [Hello from t2 1 Hello from t2 2 ] 42 Hello from t3 2 ]
|
/PHP-8.4/Zend/tests/generators/ |
H A D | recursive_yield_from.phpt | 2 Check if recursion with yield from works 6 function from($a = 0) { 9 yield from from($a + 3); 10 yield from from($a + 6); 16 yield from from();
|
H A D | yield_from_array.phpt | 2 yielding values from an array 5 function from() { 7 yield from []; // must not yield anything 8 yield from [1,2]; 12 yield from from();
|
H A D | basic_yield_from_proxying.phpt | 2 Basic test if yield from works 5 function from() { 6 yield "from" => 1; 12 yield from from(); 29 string(4) "from" 37 string(4) "from"
|
H A D | backtrace_multi_yield_from.phpt | 2 Generator backtrace with multi yield from 12 function from($gen) { 13 yield from $gen; 17 $gen2 = from($gen1); 18 $gen3 = from($gen2); 30 #1 [internal function]: from(Object(Generator))
|
H A D | basic_yield_from_exception_handling.phpt | 2 Exceptions in linear yield from setup 5 function from($off) { 8 } catch (Exception $e) { print "catch in from()\n$e\n"; } 17 yield from from(0); 19 yield from from(2); 39 catch in from() 49 catch in from()
|
H A D | yield_from_deep_recursion.phpt | 2 Deep recursion with yield from 7 function from($i) { 13 yield from gen(++$i); 16 yield from from(++$i);
|
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()
|
/PHP-8.4/ext/standard/tests/mail/ |
H A D | mail_basic_win.phpt | 16 'from' => 'from@example.com', 17 'premise' => function ($from, $to, $subject, $message) { 18 ini_set('sendmail_from', $from); 23 'from' => 'ex_from@example.com', 26 $headers = "from: {$from}"; 31 'from' => 'ex_from@example.com', 34 $headers = "FRom: {$from}"; 39 'from' => 'ex_from@example.com', 42 $headers = "from: {$from}"; 49 foreach ($cases as $index => ['from' => $from, 'premise' => $premise]) { [all …]
|
/PHP-8.4/ext/standard/tests/array/ |
H A D | array_column_variant_objects.phpt | 59 echo "-- last_name column from recordset, keyed by value from id column --\n"; 62 echo "-- last_name column from recordset, keyed by value from first_name column --\n"; 73 echo "-- last_name column from recordset, keyed by value from id column --\n"; 76 echo "-- last_name column from recordset, keyed by value from first_name column --\n"; 83 -- first_name column from recordset -- 92 -- id column from recordset -- 101 -- last_name column from recordset, keyed by value from id column -- 110 -- last_name column from recordset, keyed by value from first_name column -- 138 -- id column from recordset -- 147 -- last_name column from recordset, keyed by value from id column -- [all …]
|
/PHP-8.4/ext/date/tests/ |
H A D | bug52342.phpt | 6 $from = new DateTime(); 7 $from->setTime(0, 0, 0); 8 $from->setISODate(2010, 28, 1); //Montag der 28ten Woche 2010 10 echo $from->format('d.m.Y H:i'), "\n"; //A 11 echo $from->getTimestamp(), "\n"; //B 12 echo date('d.m.Y H:i', $from->getTimestamp()), "\n"; //C 14 $from->add(new DateInterval('P0D')); 15 echo $from->getTimestamp(), "\n"; //B 16 echo date('d.m.Y H:i', $from->getTimestamp()), "\n"; //C
|
/PHP-8.4/ext/standard/tests/class_object/ |
H A D | get_class_methods_basic_002.phpt | 15 echo "Accessing C from C:\n"; 64 Accessing D from global scope: 75 Accessing C from C: 86 Accessing D from C: 103 Accessing X from C: 110 Accessing C from D: 119 Accessing D from D: 136 Accessing X from D: 143 Accessing C from X: 150 Accessing D from X: [all …]
|
H A D | get_class_methods_basic_003.phpt | 22 echo "Accessing I from C:\n"; 24 echo "Accessing C from C:\n"; 30 echo "Accessing I from global scope:\n"; 32 echo "Accessing C from global scope:\n"; 38 Accessing I from global scope: 43 Accessing C from global scope: 52 Accessing I from C: 57 Accessing C from C:
|
/PHP-8.4/ext/zend_test/tests/ |
H A D | observer_fiber_03.phpt | 46 <!-- switching from fiber %s to %s --> 50 <!-- switching from fiber %s to %s --> 53 <!-- switching from fiber %s to %s --> 57 <!-- switching from fiber %s to %s --> 60 <!-- switching from fiber %s to %s --> 62 <!-- switching from fiber %s to %s --> 64 <!-- switching from fiber %s to %s --> 67 <!-- switching from fiber %s to %s --> 70 <!-- switching from fiber %s to %s --> 72 <!-- switching from fiber %s to %s --> [all …]
|
H A D | observer_fiber_04.phpt | 33 <!-- switching from fiber %s to %s --> 37 <!-- switching from fiber %s to %s --> 40 <!-- switching from fiber %s to %s --> 42 <!-- switching from fiber %s to %s --> 45 <!-- switching from fiber %s to %s --> 47 <!-- switching from fiber %s to %s --> 49 <!-- switching from fiber %s to %s --> 51 <!-- switching from fiber %s to %s --> 53 <!-- switching from fiber %s to %s --> 55 <!-- switching from fiber %s to %s -->
|
H A D | observer_fiber_05.phpt | 32 <!-- switching from fiber %s to %s --> 36 <!-- switching from fiber %s to %s --> 39 <!-- switching from fiber %s to %s --> 41 <!-- switching from fiber %s to %s --> 44 <!-- switching from fiber %s to %s --> 46 <!-- switching from fiber %s to %s --> 48 <!-- switching from fiber %s to %s --> 50 <!-- switching from fiber %s to %s --> 52 <!-- switching from fiber %s to %s --> 54 <!-- switching from fiber %s to %s -->
|
/PHP-8.4/Zend/tests/ |
H A D | bug29210.phpt | 22 echo "test_func1 isn't callable from inside\n"; 72 echo "test_func1 isn't callable from outside\n"; 77 echo "test_func2 isn't callable from outside\n"; 82 echo "test_func3 isn't callable from outside\n"; 87 echo "test_func4 isn't callable from outside\n"; 97 test_func1 isn't callable from outside 98 test_func2 isn't callable from outside 99 test_func3 isn't callable from outside 100 test_func4 isn't callable from outside 101 test_func1 isn't callable from child [all …]
|
H A D | bug46246.phpt | 9 echo 'Hello from '.get_class($this)."\n"; 24 echo 'Overridden hello from '.get_class($this)."\n"; 35 Hello from A 36 Hello from A 37 Hello from A 38 Hello from B 39 Hello from B 40 Hello from B
|
/PHP-8.4/Zend/tests/enum/ |
H A D | backed-from.phpt | 2 BackedEnum::from() 13 var_dump(Suit::from('H')); 14 var_dump(Suit::from('D')); 15 var_dump(Suit::from('C')); 16 var_dump(Suit::from('S')); 24 var_dump(Foo::from(1)); 25 var_dump(Foo::from(2)); 26 var_dump(Foo::from(3));
|
/PHP-8.4/ext/standard/tests/file/ |
H A D | fread_basic.phpt | 101 Reading 1024 bytes from file, expecting 1024 bytes ... OK 108 Reading 1030 bytes from file, expecting 1024 bytes ... OK 115 Reading 1000 bytes from file, expecting 1000 bytes ... OK 123 Reading 1024 bytes from file, expecting 1024 bytes ... OK 130 Reading 1030 bytes from file, expecting 1024 bytes ... OK 137 Reading 1000 bytes from file, expecting 1000 bytes ... OK 145 Reading 1024 bytes from file, expecting 1024 bytes ... OK 152 Reading 1030 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 …]
|
/PHP-8.4/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 73 filter->from = from; in mbfl_convert_filter_init() 111 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2() 281 from = &mbfl_encoding_8bit; in mbfl_convert_filter_get_vtbl() 282 } else if (from->no_encoding == mbfl_no_encoding_base64 || in mbfl_convert_filter_get_vtbl() 283 from->no_encoding == mbfl_no_encoding_qprint || in mbfl_convert_filter_get_vtbl() 284 from->no_encoding == mbfl_no_encoding_uuencode) { in mbfl_convert_filter_get_vtbl() 293 return from->input_filter; in mbfl_convert_filter_get_vtbl() 294 } else if (from->no_encoding == mbfl_no_encoding_wchar) { in mbfl_convert_filter_get_vtbl() 300 if (vtbl->from == from->no_encoding && vtbl->to == to->no_encoding) { in mbfl_convert_filter_get_vtbl() 330 from = &mbfl_encoding_8bit; in mb_fast_convert() [all …]
|
/PHP-8.4/ext/standard/tests/strings/ |
H A D | strtr_variation6.phpt | 2 Test strtr() function : usage variations - unexpected inputs for 'from' argument 5 /* Test strtr() function: with unexpected inputs for 'from' 9 echo "*** Testing strtr() function: with unexpected inputs for 'from' ***\n"; 24 // array of values for 'from' 66 $from = $from_arr[$index]; 68 var_dump(strtr($str, $from, $to)); 78 *** Testing strtr() function: with unexpected inputs for 'from' *** 92 strtr(): Argument #2 ($from) must be of type string, array given 94 strtr(): Argument #2 ($from) must be of type string, array given 96 strtr(): Argument #2 ($from) must be of type string, array given [all …]
|
/PHP-8.4/ext/gd/libgd/ |
H A D | gdkanji.c | 388 if (from[i] == ESC) in do_convert() 391 if (from[i] == '$') in do_convert() 410 to[j++] = from[i] + 128; in do_convert() 417 to[j++] = from[i]; in do_convert() 425 p1 = from[i]; in do_convert() 435 p2 = from[++i]; in do_convert() 451 ustrcpy (to, from); in do_convert() 482 ustrcpy (tmp, from); in do_check_and_conv() 487 ustrcpy (tmp, from); in do_check_and_conv() 495 ustrcpy (tmp, from); in do_check_and_conv() [all …]
|