Home
last modified time | relevance | path

Searched refs:as (Results 26 – 50 of 4017) sorted by relevance

12345678910>>...161

/PHP-7.1/ext/standard/tests/strings/
H A Dstrspn_variation5.phpt13 * Testing strspn() : with different heredoc strings as str argument
68 foreach($heredoc_strings as $str) {
69 echo "\n-- Iteration with str value as \"$str\" --\n";
78 -- Iteration with str value as "" --
81 -- Iteration with str value as "
86 -- Iteration with str value as "first line of heredoc string
91 -- Iteration with str value as "hello world
97 -- Iteration with str value as "hello123world456
101 -- Iteration with str value as "hello�world�hello
105 -- Iteration with str value as "hello�@�world�hello
H A Dchop_variation5.phpt18 var_dump ( chop("chop test ", NULL) ); /* with NULL as second Argument */
19 …var_dump ( chop("chop test ", true) ); /* with boolean value as second Argu…
20 …var_dump ( chop("chop test ", " ") ); /* with single space as second Argum…
21 …var_dump ( chop("chop test \t\n\r\0\x0B", "\t\n\r\0\x0B") ); /* with multiple escape sequences as
22 …var_dump ( chop("chop testABCXYZ", "A..Z") ); /* with characters range as second A…
23 …var_dump ( chop("chop test0123456789", "0..9") ); /* with numbers range as second Argu…
24 …var_dump ( chop("chop test$#@", "#@$") ); /* with some special characters as s…
/PHP-7.1/ext/standard/tests/general_functions/
H A Dvar_export_basic1.phpt21 '0x123B' => 0x123B, // integer as hexadecimal
25 "-0x80000000" => -0x7FFFFFFF - 1, // max negative integer as hexadecimal
26 "'0x7fffffff'" => '0x7fffffff', // max positive integer as hexadecimal
27 "0x7FFFFFFF" => 0x7FFFFFFF, // max positive integer as hexadecimal
28 "'0123'" => '0123', // integer as octal
30 "-020000000000" => -017777777777 - 1, // max negative integer as octal
31 "017777777777" => 017777777777, // max positive integer as octal
36 foreach($valid_ints as $key => $int_value) {
/PHP-7.1/ext/spl/tests/
H A Darray_019.phpt6 $ar = new ArrayObject(array(1)); foreach($ar as &$v) var_dump($v);
7 $ar = new ArrayIterator(array(2)); foreach($ar as &$v) var_dump($v);
8 $ar = new RecursiveArrayIterator(array(3)); foreach($ar as &$v) var_dump($v);
18 $ar = new ArrayIteratorEx(array(4)); foreach($ar as $v) var_dump($v);
19 $ar = new ArrayIteratorEx(array(5)); foreach($ar as &$v) var_dump($v);
H A Diterator_013.phpt10 foreach($it as $key=>$val)
19 foreach($it as $key=>$val)
26 foreach($it as $key=>$val)
35 foreach(new NoRewindIterator($it) as $key=>$val)
42 foreach($it as $key=>$val)
H A Diterator_020.phpt10 foreach($it as $key=>$val)
19 foreach($it as $key=>$val)
26 foreach($it as $key=>$val)
35 foreach(new NoRewindIterator($it) as $key=>$val)
42 foreach($it as $key=>$val)
H A Diterator_028.phpt12 foreach($it as $v) echo $it->getDepth() . ": $v\n";
17 foreach($it as $v) echo $it->getDepth() . ": $v\n";
22 foreach($it as $v) echo $it->getDepth() . ": $v\n";
27 foreach($it as $v) echo $it->getDepth() . ": $v\n";
32 foreach($it as $v) echo $it->getDepth() . ": $v\n";
37 foreach($it as $v) echo $it->getDepth() . ": $v\n";
/PHP-7.1/Zend/tests/grammar/
H A Dsemi_reserved_008.phpt35 TraitA::list as public /**/ foreach;
39 try /*comment*/ as public attempt;
41 as/*comment*/die; // non qualified
42 \TraitB::exit as bye; // full qualified
44 as byebye; // even more full qualified
48 exit as farewell; // full qualified with weird spacing
/PHP-7.1/ext/date/tests/
H A Dgmstrftime_variation7.phpt20 'Day of the month as a decimal number' => "%d",
21 'Day of the year as a decimal number' => "%j",
22 'Day of the week as a decimal number' => "%w"
27 foreach($inputs as $key =>$value) {
38 --Day of the month as a decimal number--
42 --Day of the year as a decimal number--
46 --Day of the week as a decimal number--
/PHP-7.1/Zend/tests/
H A Dforeach_017.phpt8 foreach($a as &$v) {
20 foreach($a as &$v) {
32 foreach($a as &$v) {
46 foreach($a as &$v) {
58 foreach($a as &$v) {
70 foreach($a as &$v) {
/PHP-7.1/ext/pdo_dblib/tests/
H A Dbug_54648.phpt12 …>query("select cast('1950-01-18 23:00:00' as smalldatetime) as sdt, cast('2030-01-01 23:59:59' as
/PHP-7.1/ext/pdo_mysql/tests/
H A Dbug54929.phpt29 testQuery("/* ' */ select ? as f1 /* ' */");
30 testQuery("/* '-- */ select ? as f1 /* *' */");
31 testQuery("/* ' */ select ? as f1 --';");
32 testQuery("/* ' */ select ? as f1 -- 'a;");
33 testQuery("/*'**/ select ? as f1 /* ' */");
34 testQuery("/*'***/ select ? as f1 /* ' */");
37 **/ select ? as f1 /* ' */");
/PHP-7.1/ext/standard/tests/assert/
H A Dassert02.phpt17 assert('aa=sd+as+safsafasfasafsaf');
27 assert('aa=sd+as+safsafasfasafsaf');
40 aa=sd+as+safsafasfasafsaf
46 #0 %s(%d): assert('aa=sd+as+safsaf...')
50 aa=sd+as+safsafasfasafsaf in %s:%d
52 #0 %s(%d): assert('aa=sd+as+safsaf...')
/PHP-7.1/tests/lang/
H A DforeachLoop.001.phpt8 foreach ($a as $v) {
11 foreach ($a as $k => $v) {
19 foreach (array("d","e","f") as $v) {
22 foreach (array("d","e","f") as $k => $v) {
31 foreach ($a as $v);
34 foreach ($a as &$v);
H A DforeachLoop.016.phpt9 foreach($a as $k=>&$v) {
17 foreach(${'a'} as $k=>&$v) {
27 foreach($$a as $k=>&$v) {
35 foreach($a[0] as $k=>&$v) {
43 foreach($a[0][0] as $k=>&$v) {
51 foreach($a->b as $k=>&$v) {
59 foreach($a->b as $k=>&$v) {
67 foreach($a->b[0] as $k=>&$v) {
75 foreach($a->b[0][0] as $k=>&$v) {
96 foreach(C::$a as $k=>&$v) {
[all …]
H A Dbug27439.phpt29 foreach ($this->array as $foo) {
35 foreach ($this->foobar as $foo);
39 foreach ($this->string as $foo);
43 foreach ($this->getArray() as $foo);
47 foreach ($this->getString() as $foo);
51 foreach ($this->object as $foo) {
H A DforeachLoop.003.phpt7 foreach ($a as $v) {
12 foreach ($a as $v) {
17 foreach ($a as $v) {
22 foreach ($a as $v) {
27 foreach ($a as $v) {
/PHP-7.1/Zend/tests/traits/
H A Dbug61998.phpt7 func as newFunc;
32 func as newFunc;
33 func as func2;
36 func2 as newFunc2;
37 func2 as newFunc3;
38 func2 as func3;
/PHP-7.1/ext/standard/tests/array/
H A Dend_variation2.phpt14 * as $array_arg argument.
21 echo "\n-- Pass a two-dimensional array as \$array_arg --\n";
24 echo "\n-- Pass a sub-array as \$array_arg --\n";
31 -- Pass a two-dimensional array as $array_arg --
41 -- Pass a sub-array as $array_arg --
H A Duasort_variation8.phpt2 Test uasort() function : usage variations - built-in function as 'cmp_function'
16 echo "*** Testing uasort() : built in function as 'cmp_function' ***\n";
22 // Testing library functions as comparison function
31 // Testing with language construct as comparison function
32 echo "-- Testing uasort() with language construct as 'cmp_function' --\n";
35 echo "-- Testing uasort() with language construct as 'cmp_function' --\n";
41 *** Testing uasort() : built in function as 'cmp_function' ***
70 -- Testing uasort() with language construct as 'cmp_function' --
74 -- Testing uasort() with language construct as 'cmp_function' --
H A Dnext_variation2.phpt14 * as $array_arg argument.
21 echo "\n-- Pass a two-dimensional array as \$array_arg --\n";
25 echo "\n-- Pass a sub-array as \$array_arg --\n";
32 -- Pass a two-dimensional array as $array_arg --
43 -- Pass a sub-array as $array_arg --
H A Darray_key_exists_variation3.phpt12 * Pass floats as $key argument, then cast float values
13 * to integers and pass as $key argument
23 foreach($keys as $key) {
25 echo "Pass float as \$key:\n";
37 Pass float as $key:
45 Pass float as $key:
53 Pass float as $key:
/PHP-7.1/ext/pdo_pgsql/tests/
H A Dbug75402.phpt50 ID as \"sID\",
51 GROUP_ID as \"sGroupID\",
52 SUBMITTER as \"sOwner\",
53 OPERATION as \"sOperation\",
54 DESCRIPTION as \"sInfo\",
55 STAGE as \"sShortStatus\",
56 STATUS as \"sStatus\",
57 PROGRESS as \"sProgress\",
58 HIDDEN as \"bHidden\",
59 to_char(INSERT_DATETIME, 'IYYY.MM.DD HH24:MI:SS') as \"sDatetime\"
/PHP-7.1/ext/fileinfo/tests/
H A Dbug68819_001.phpt9as-------a----a--a-------------a--as-----s---------------a---------a---a--s-a-----a-----------asy-…
/PHP-7.1/ext/gd/tests/
H A Dbug67248.phpt15 Warning: imageaffinematrixget(): Array expected as options in %s on line %d
17 Warning: imageaffinematrixget(): Array expected as options in %s on line %d
19 Warning: imageaffinematrixget(): Number is expected as option in %s on line %d
21 Warning: imageaffinematrixget(): Number is expected as option in %s on line %d
23 Warning: imageaffinematrixget(): Number is expected as option in %s on line %d

Completed in 30 milliseconds

12345678910>>...161