Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 1165) sorted by relevance

12345678910>>...47

/PHP-8.0/ext/oci8/tests/
H A Dimp_res_7.phpt28 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 DReflectionClass_getConstants_basic.phpt6 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 Dbug24951.phpt12 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 Drecursive_yield_from.phpt2 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 Dyield_from_array.phpt2 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 Dbasic_yield_from_proxying.phpt2 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 Dbacktrace_multi_yield_from.phpt2 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 Dyield_from_valid_exception.phpt2 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 Dyield_from_deep_recursion.phpt2 Deep recursion with yield from
7 function from($i) {
13 yield from gen(++$i);
16 yield from from(++$i);
H A Dbasic_yield_from_exception_handling.phpt2 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 Dbug52342.phpt6 $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 Darray_column_variant_objects.phpt59 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 Dget_class_methods_basic_002.phpt15 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 Dget_class_methods_basic_003.phpt22 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 Dbug29210.phpt22 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 Dbug46246.phpt9 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 Dfread_basic.phpt101 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 Dbatch_stmt_transaction.phpt17 "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 Dbatch_stmt_ins_sel_up_del.phpt17 "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 Dbatch_stmt_try.phpt17 "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 Dstrtr_variation8.phpt91 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 Dstrtr_variation6.phpt2 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 Dgdkanji.c388 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 Dmbfl_convert.c122 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 Dbug61998.phpt50 $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

Completed in 39 milliseconds

12345678910>>...47