Home
last modified time | relevance | path

Searched refs:as (Results 101 – 125 of 4164) sorted by relevance

12345678910>>...167

/PHP-7.2/Zend/tests/
H A Dbug34310.phpt2 Bug #34310 (foreach($arr as $c->d => $x) crashes)
16 foreach($arr as $x => $c->d)
22 foreach($arr as $c->d => $x)
/PHP-7.2/ext/standard/tests/array/
H A Dsizeof_variation5.phpt33 0, // same as COUNT_NORMAL
34 1, // same as COUNT_RECURSIVE
36 /* 5 */ TRUE, // same as COUNT_RECURSIVE
37 true, // same as COUNT_RECURSIVE
38 FALSE, // same as COUNT_NORMAL
39 false, // same as COUNT_NORMAL
40 NULL, // same as COUNT_NORMAL
41 /* 10 */ null, // same as COUNT_NORMAL
H A Darray_filter_variation8.phpt20 // int as return value
28 // float as return value
36 // string as return value
44 // null as return value
52 // array as return value
57 echo "callback function with array as return value\n";
130 callback function with array as return value
/PHP-7.2/tests/lang/
H A DforeachLoop.009.phpt11 foreach ($refedArray as $k=>$v1) {
19 foreach ($refedArray as $k=>&$v2) {
28 foreach ($refedArray as $k=>$v3) {
33 echo "Loop detected, as expected.\n";
42 foreach ($refedArray as $k=>&$v4) {
47 echo "Loop detected, as expected.\n";
76 Loop detected, as expected.
/PHP-7.2/ext/standard/tests/file/
H A D006_variation2.phpt14 die('skip cannot be run as root');
48 /* negative values as permission */
49 -0777, // permissions will be given as 2's complement form of -0777
50 -07777, // permissions will be given as 2's complement form of -07777
52 /* decimal values as permission */
53 777, // permissions will be given as octal equivalent value of 777
54 7777, // permissions will be given as octal equivalent value of 7777
55 -7777, // permissions are given as 2's complement of octal equivalent of 7777
57 /* hex value as permission */
58 0x777, // permissions will be given as ocatal equivalent value of 0x777
[all …]
H A Dsymlink_link_linkinfo_is_link_error1.phpt46 var_dump( symlink(NULL, $linkname) ); // NULL as filename
47 var_dump( symlink('', $linkname) ); // empty string as filename
48 var_dump( symlink(false, $linkname) ); // boolean false as filename
49 var_dump( symlink($filename, NULL) ); // NULL as linkname
50 var_dump( symlink($filename, '') ); // '' as linkname
51 var_dump( symlink($filename, false) ); // false as linkname
61 var_dump( linkinfo(NULL) ); // NULL as linkname
62 var_dump( linkinfo('') ); // empty string as linkname
63 var_dump( linkinfo(false) ); // boolean false as linkname
/PHP-7.2/ext/standard/tests/assert/
H A Dassert02.phpt17 assert('aa=sd+as+safsafasfasafsaf');
27 assert('aa=sd+as+safsafasfasafsaf');
46 aa=sd+as+safsafasfasafsaf
56 #0 %s(%d): assert('aa=sd+as+safsaf...')
60 aa=sd+as+safsafasfasafsaf in %s:%d
62 #0 %s(%d): assert('aa=sd+as+safsaf...')
/PHP-7.2/ext/standard/tests/strings/
H A Dhtmlentities23.phpt6 "\x8F\xA1\xFF", //2 sub as 2nd is potentially valid as lead
7 "\x8F\xA1", //2 sub, as 2nd is potentially valid as lead
9 "\x8F\xA0", //1 sub, A0 is not valid as sole/first byte
21 foreach ($tests as $test) {
H A Dsprintf_variation52.phpt16 echo"\n-- Testing for '%%%.2f' as the format parameter --\n";
19 echo"\n-- Testing for '%%' as the format parameter --\n";
28 echo"\n-- Testing for '%X' as the format parameter --\n";
42 -- Testing for '%%%.2f' as the format parameter --
45 -- Testing for '%%' as the format parameter --
56 -- Testing for '%X' as the format parameter --
H A Dltrim.phpt32 var_dump ( ltrim(" ltrim test", NULL) ); /* with NULL as second Argument */
33 …var_dump ( ltrim(" ltrim test", true) ); /* with boolean value as second Ar…
34 …var_dump ( ltrim(" ltrim test", " ") ); /* with single space as second Arg…
35 …\n\r\0\x0B ltrim test", "\t\n\r\0\x0B") ); /* with multiple escape sequences as second Argument */
36 …var_dump ( ltrim("ABCXYZltrim test", "A..Z") ); /* with characters range as second…
37 …var_dump ( ltrim("0123456789ltrim test", "0..9") ); /* with numbers range as second Ar…
38 …var_dump ( ltrim("@$#ltrim test", "#@$") ); /* with some special characters as
H A Drtrim.phpt19 var_dump ( rtrim("rtrim test ", NULL) ); /* with NULL as second Argument */
20 …var_dump ( rtrim("rtrim test ", true) ); /* with boolean value as second Ar…
21 …var_dump ( rtrim("rtrim test ", " ") ); /* with single space as second Arg…
22 …rim test \t\n\r\0\x0B", "\t\n\r\0\x0B") ); /* with multiple escape sequences as second Argument */
23 …var_dump ( rtrim("rtrim testABCXYZ", "A..Z") ); /* with characters range as second…
24 …var_dump ( rtrim("rtrim test0123456789", "0..9") ); /* with numbers range as second Ar…
25 …var_dump ( rtrim("rtrim test$#@", "#@$") ); /* with some special characters as
/PHP-7.2/ext/ctype/tests/
H A Dctype_xdigit_variation4.phpt15 * 2. correspond to character codes recognised as hexadecimal digits (see variation2)
16 * referred to as 'correct' integers below
37 foreach($octal_values1 as $c) {
41 foreach($octal_values2 as $c) {
47 foreach($hex_values1 as $c) {
51 foreach($hex_values2 as $c) {
/PHP-7.2/tests/classes/
H A Dclone_006.phpt36 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d
38 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d
41 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d
43 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d
/PHP-7.2/Zend/tests/traits/
H A Dbug55554a.phpt6 // All constructors should be registered as such
16 constructor as __construct;
22 constructor as LegacyConstructor;
H A Dlanguage008a.phpt2 Visibility can be changed with the as aliasing construct as well.
14 use HelloWorld { sayHello as protected; }
/PHP-7.2/ext/spl/tests/
H A Drecursive_tree_iterator_006.phpt39 foreach(new RecursiveTreeIterator($it) as $k => $v) {
43 foreach(new RecursiveTreeIterator($it, RecursiveTreeIterator::BYPASS_CURRENT) as $k => $v) {
47 …erator($it, RecursiveTreeIterator::BYPASS_CURRENT|RecursiveTreeIterator::BYPASS_KEY) as $k => $v) {
51 foreach(new RecursiveTreeIterator($it, 0) as $k => $v) {
55 foreach(new RecursiveTreeIterator($it, 0, CachingIterator::CATCH_GET_CHILD) as $k => $v) {
/PHP-7.2/ext/mysqli/tests/
H A Dmysqli_query_iterators.phpt22 foreach ($res as $row) {
26 foreach ($res as $row) {
30 foreach ($res as $row) {
38 foreach ($res as $row) {
42 foreach ($res as $row) {
52 foreach ($res as $row) {
56 foreach ($res as $row) {
H A Dbug73800.phpt21 …res = $link->query("SELECT RPAD('1',9000000,'1') as a,RPAD('1',9000000,'1') as b, 9223372036854775…
/PHP-7.2/ext/pdo_sqlite/tests/
H A Dbug44327_3.phpt12 $x = $db->query('select 1 as queryStringxx');
24 string(25) "select 1 as queryStringxx"
28 string(25) "select 1 as queryStringxx"
/PHP-7.2/ext/standard/tests/general_functions/
H A Dob_start_closures.phpt2 Test ob_start() function : closures as output handlers
7 echo "*** Testing ob_start() : closures as output handlers ***\n";
32 *** Testing ob_start() : closures as output handlers ***
/PHP-7.2/Zend/tests/try/
H A Dtry_finally_022.phpt23 foreach([new stdClass()] as $x) {
24 foreach(new A() as $a) {
25 foreach([new stdClass()] as $y) {
/PHP-7.2/Zend/tests/type_declarations/
H A Diterable_002.phpt7 // Null should be allowed as a default value
11 // Array should be allowed as a default value
15 // No other values should be allowed as defaults
/PHP-7.2/ext/standard/tests/network/
H A Dip2long_variation2_x64.phpt6 …All numbers supplied as ``parts'' in a `.' notation may be decimal, octal, or hexadecimal, as spec…
8 otherwise, the number is interpreted as decimal).
32 foreach($ips as $ip) {
/PHP-7.2/ext/zlib/tests/
H A Dreadgzfile_variation11.phpt24 foreach ( $variation as $var ) {
34 as it turns around
41 as it turns around
48 as it turns around
55 as it turns around
62 as it turns around
/PHP-7.2/ext/pdo_dblib/tests/
H A Dbug_73396.phpt2 PDO_DBLIB: bigint columns are returned as strings
12 // on 64-bit machines, these columns should come back as ints
13 // on 32-bit machines, they will come back as strings because zend_long isn't big enough

Completed in 55 milliseconds

12345678910>>...167