Home
last modified time | relevance | path

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

12345678910>>...57

/PHP-8.2/ext/oci8/tests/
H A Dimp_res_7.phpt29 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.2/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.2/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.2/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 [internal function]: from(Object(Generator))
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()
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 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()
/PHP-8.2/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.2/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.2/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.2/ext/zend_test/tests/
H A Dobserver_fiber_03.phpt46 <!-- 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 Dobserver_fiber_05.phpt32 <!-- 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 -->
H A Dobserver_fiber_04.phpt33 <!-- 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 -->
/PHP-8.2/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.2/Zend/tests/enum/
H A Dbacked-from.phpt2 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.2/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.2/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c96 filter->from = from; in mbfl_convert_filter_init()
134 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2()
304 from = &mbfl_encoding_8bit; in mbfl_convert_filter_get_vtbl()
305 } else if (from->no_encoding == mbfl_no_encoding_base64 || in mbfl_convert_filter_get_vtbl()
306 from->no_encoding == mbfl_no_encoding_qprint || in mbfl_convert_filter_get_vtbl()
307 from->no_encoding == mbfl_no_encoding_uuencode) { in mbfl_convert_filter_get_vtbl()
316 return from->input_filter; in mbfl_convert_filter_get_vtbl()
317 } else if (from->no_encoding == mbfl_no_encoding_wchar) { in mbfl_convert_filter_get_vtbl()
323 if (vtbl->from == from->no_encoding && vtbl->to == to->no_encoding) { in mbfl_convert_filter_get_vtbl()
353 from = &mbfl_encoding_8bit; in mb_fast_convert()
[all …]
/PHP-8.2/ext/standard/tests/strings/
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";
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.2/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.2/ext/pdo_dblib/tests/
H A Dbatch_stmt_transaction.phpt18 "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 …]

Completed in 35 milliseconds

12345678910>>...57