/PHP-8.1/ext/oci8/tests/ |
H A D | imp_res_7.phpt | 29 open c1 for select 1 from dual; 31 open c1 for select 2 from dual; 33 open c1 for select 3 from dual; 35 open c1 for select 4 from dual; 37 open c1 for select 5 from dual; 39 open c1 for select 6 from dual; 41 open c1 for select 7 from dual; 43 open c1 for select 8 from dual; 45 open c1 for select 9 from dual; 47 open c1 for select 10 from dual; [all …]
|
/PHP-8.1/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.1/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.1/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.1/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.1/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.1/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.1/ext/zend_test/tests/ |
H A D | observer_fiber_03.phpt | 44 <!-- switching from fiber %s to %s --> 47 <!-- switching from fiber %s to %s --> 49 <!-- switching from fiber %s to %s --> 52 <!-- switching from fiber %s to %s --> 55 <!-- switching from fiber %s to %s --> 57 <!-- switching from fiber %s to %s --> 59 <!-- switching from fiber %s to %s --> 62 <!-- switching from fiber %s to %s --> 65 <!-- switching from fiber %s to %s --> 67 <!-- switching from fiber %s to %s --> [all …]
|
H A D | observer_fiber_04.phpt | 31 <!-- switching from fiber %s to %s --> 34 <!-- switching from fiber %s to %s --> 36 <!-- switching from fiber %s to %s --> 38 <!-- switching from fiber %s to %s --> 41 <!-- switching from fiber %s to %s --> 43 <!-- 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 -->
|
H A D | observer_fiber_05.phpt | 30 <!-- switching from fiber %s to %s --> 33 <!-- switching from fiber %s to %s --> 35 <!-- 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 --> 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 -->
|
/PHP-8.1/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.1/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.1/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.1/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 98 filter->from = from; in mbfl_convert_filter_init() 123 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_new() 136 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2() 307 from = &mbfl_encoding_8bit; in mbfl_convert_filter_get_vtbl() 308 } else if (from->no_encoding == mbfl_no_encoding_base64 || in mbfl_convert_filter_get_vtbl() 309 from->no_encoding == mbfl_no_encoding_qprint || in mbfl_convert_filter_get_vtbl() 310 from->no_encoding == mbfl_no_encoding_uuencode || in mbfl_convert_filter_get_vtbl() 311 from->no_encoding == mbfl_no_encoding_7bit) { in mbfl_convert_filter_get_vtbl() 320 return from->input_filter; in mbfl_convert_filter_get_vtbl() 321 } else if (from->no_encoding == mbfl_no_encoding_wchar) { in mbfl_convert_filter_get_vtbl() [all …]
|
/PHP-8.1/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.1/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 …]
|
/PHP-8.1/ext/pdo_dblib/tests/ |
H A D | batch_stmt_transaction.phpt | 18 "select * from #php_pdo;" . 22 "select * from #php_pdo;" . 23 "delete from #php_pdo;" . 27 // check results from the create table 31 // check results from the first insert 35 // check results from the select 43 // check results from the update 47 // check results from rollback 51 // check results from the select 56 // check results from the delete [all …]
|