/PHP-8.0/ext/oci8/tests/ |
H A D | imp_res_7.phpt | 28 open c1 for select 1 from dual; 30 open c1 for select 2 from dual; 32 open c1 for select 3 from dual; 34 open c1 for select 4 from dual; 36 open c1 for select 5 from dual; 38 open c1 for select 6 from dual; 40 open c1 for select 7 from dual; 42 open c1 for select 8 from dual; 44 open c1 for select 9 from dual; 46 open c1 for select 10 from dual; [all …]
|
/PHP-8.0/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.0/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.0/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 from(Generator Object ())
|
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_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 | 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()
|
/PHP-8.0/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.0/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.0/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.0/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.0/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.0/ext/pdo_dblib/tests/ |
H A D | batch_stmt_transaction.phpt | 17 "select * from #php_pdo;" . 21 "select * from #php_pdo;" . 22 "delete from #php_pdo;" . 26 // check results from the create table 30 // check results from the first insert 34 // check results from the select 42 // check results from the update 46 // check results from rollback 50 // check results from the select 55 // check results from the delete [all …]
|
H A D | batch_stmt_ins_sel_up_del.phpt | 17 "select * from #php_pdo;" . 19 "delete from #php_pdo;" . 20 "select * from #php_pdo;" . 24 // check results from the create table 28 // check results from the first insert 32 // check results from the select 36 // check results from the update 40 // check results from the delete 44 // check results from the select 48 // check results from the drop
|
H A D | batch_stmt_try.phpt | 17 "select * from #php_pdo;" . 24 "select * from #php_pdo;" . 25 "delete from #php_pdo;" . 29 // check results from the create table 33 // check results from the first insert 37 // check results from the select 41 // check results from try 45 // check results from the update 59 // check results from the select 64 // check results from the delete [all …]
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | strtr_variation8.phpt | 91 strtr(): Argument #2 ($from) must be of type array, string given 94 strtr(): Argument #2 ($from) must be of type array, string given 97 strtr(): Argument #2 ($from) must be of type array, string given 100 strtr(): Argument #2 ($from) must be of type array, string given 103 strtr(): Argument #2 ($from) must be of type array, string given 106 strtr(): Argument #2 ($from) must be of type array, string given 118 strtr(): Argument #2 ($from) must be of type array, string given 121 strtr(): Argument #2 ($from) must be of type array, string given 124 strtr(): Argument #2 ($from) must be of type array, string given 127 strtr(): Argument #2 ($from) must be of type array, string given [all …]
|
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"; 28 // array of values for 'from' 76 $from = $from_arr[$index]; 78 var_dump(strtr($str, $from, $to)); 88 *** Testing strtr() function: with unexpected inputs for 'from' *** 102 strtr(): Argument #2 ($from) must be of type string, array given 104 strtr(): Argument #2 ($from) must be of type string, array given 106 strtr(): Argument #2 ($from) must be of type string, array given [all …]
|
/PHP-8.0/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.0/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 122 filter->from = from; in mbfl_convert_filter_common_init() 149 const struct mbfl_convert_vtbl *vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_new() 162 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2() 213 mbfl_convert_filter_common_init(filter, from, to, vtbl, in mbfl_convert_filter_reset() 370 from = &mbfl_encoding_8bit; in mbfl_convert_filter_get_vtbl() 371 } else if (from->no_encoding == mbfl_no_encoding_base64 || in mbfl_convert_filter_get_vtbl() 372 from->no_encoding == mbfl_no_encoding_qprint || in mbfl_convert_filter_get_vtbl() 373 from->no_encoding == mbfl_no_encoding_uuencode) { in mbfl_convert_filter_get_vtbl() 382 return from->input_filter; in mbfl_convert_filter_get_vtbl() 383 } else if (from->no_encoding == mbfl_no_encoding_wchar) { in mbfl_convert_filter_get_vtbl() [all …]
|
/PHP-8.0/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
|