/PHP-7.1/ext/standard/tests/strings/ |
H A D | strspn_variation5.phpt | 13 * 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 "helloworldhello 105 -- Iteration with str value as "hello@�worldhello
|
H A D | chop_variation5.phpt | 18 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 D | var_export_basic1.phpt | 21 '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 D | array_019.phpt | 6 $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 D | iterator_013.phpt | 10 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 D | iterator_020.phpt | 10 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 D | iterator_028.phpt | 12 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 D | semi_reserved_008.phpt | 35 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 D | gmstrftime_variation7.phpt | 20 '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 D | foreach_017.phpt | 8 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 D | bug_54648.phpt | 12 …>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 D | bug54929.phpt | 29 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 D | assert02.phpt | 17 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 D | foreachLoop.001.phpt | 8 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 D | foreachLoop.016.phpt | 9 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 D | bug27439.phpt | 29 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 D | foreachLoop.003.phpt | 7 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 D | bug61998.phpt | 7 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 D | end_variation2.phpt | 14 * 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 D | uasort_variation8.phpt | 2 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 D | next_variation2.phpt | 14 * 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 D | array_key_exists_variation3.phpt | 12 * 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 D | bug75402.phpt | 50 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 D | bug68819_001.phpt | 9 …as-------a----a--a-------------a--as-----s---------------a---------a---a--s-a-----a-----------asy-…
|
/PHP-7.1/ext/gd/tests/ |
H A D | bug67248.phpt | 15 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
|