Home
last modified time | relevance | path

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

12345678910>>...151

/PHP-7.4/ext/standard/tests/strings/
H A Dwordwrap_variation5.phpt11 *test wordwrap() with break arguments as single spaces
21 echo "\n-- Testing wordwrap() with default break value and single space as value --\n";
31 echo "-- with cut value as false --\n";
36 echo "-- with cut value as true --\n";
46 -- Testing wordwrap() with default break value and single space as value --
54 -- with cut value as false --
57 -- with cut value as true --
H A Dwordwrap_error.phpt26 // $width arg as negative value
29 // width as zero and cut as false
35 // width as zero and cut as true
41 // width as -ne and cut as false
47 // width as -ne and cut as true
H A Dstristr_variation2.phpt73 foreach($inputs as $input) {
87 Deprecated: stristr(): Non-string needles will be interpreted as strings in the future. Use an expl…
91 Deprecated: stristr(): Non-string needles will be interpreted as strings in the future. Use an expl…
95 Deprecated: stristr(): Non-string needles will be interpreted as strings in the future. Use an expl…
99 Deprecated: stristr(): Non-string needles will be interpreted as strings in the future. Use an expl…
103 Deprecated: stristr(): Non-string needles will be interpreted as strings in the future. Use an expl…
107 Deprecated: stristr(): Non-string needles will be interpreted as strings in the future. Use an expl…
111 Deprecated: stristr(): Non-string needles will be interpreted as strings in the future. Use an expl…
127 Deprecated: stristr(): Non-string needles will be interpreted as strings in the future. Use an expl…
131 Deprecated: stristr(): Non-string needles will be interpreted as strings in the future. Use an expl…
[all …]
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 --
/PHP-7.4/ext/standard/tests/array/
H A Dusort_variation8.phpt2 Test usort() function : usage variations - use built in functions as $cmp_function arg
22 // Testing library functions as comparison function
33 // Testing with language construct as comparison function
34 echo "\n-- Testing usort() with language construct as 'cmp_function' --\n";
38 echo "\n-- Testing usort() with language construct as 'cmp_function' --\n";
76 -- Testing usort() with language construct as 'cmp_function' --
81 -- Testing usort() with language construct as 'cmp_function' --
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.4/Zend/tests/traits/
H A Dlanguage008a.phpt2 Visibility can be changed with the as aliasing construct as well.
14 use HelloWorld { sayHello as protected; }
H A Dbug55554a.phpt6 // All constructors should be registered as such
16 constructor as __construct;
22 constructor as LegacyConstructor;
H A Dbug64235b.phpt28 TestTrait::method as methodAlias;
29 TestParentClass::method as TestParent;
35 Fatal error: Class TestParentClass is not a trait, Only traits may be used in 'as' and 'insteadof' …
/PHP-7.4/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.4/Zend/tests/
H A Dbug76860.phpt2 Bug #76860 (Missed "Accessing static property as non static" warning)
18 Notice: Accessing static property B::$a as non static in %sbug76860.php on line 7
22 Notice: Accessing static property B::$b as non static in %sbug76860.php on line 7
26 Notice: Accessing static property B::$c as non static in %sbug76860.php on line 7
/PHP-7.4/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.4/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) {
H A Dtry_finally_019.phpt15 foreach ([new A(1)] as $a) {
18 foreach ([new A(2)] as $a) {
21 foreach ([new A(3)] as $a) {
/PHP-7.4/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.4/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.4/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.4/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.4/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.4/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) {
H A Ddllist_003.phpt12 foreach ($dll as $k => $v) {
17 foreach ($dll as $k => $v) {
23 foreach ($dll as $k => $v) {
/PHP-7.4/ext/mysqli/tests/
H A Dbug73800.phpt21 …res = $link->query("SELECT RPAD('1',9000000,'1') as a,RPAD('1',9000000,'1') as b, 9223372036854775…
/PHP-7.4/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
/PHP-7.4/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_error1.phpt40 var_dump( symlink(NULL, $linkname) ); // NULL as filename
41 var_dump( symlink('', $linkname) ); // empty string as filename
42 var_dump( symlink(false, $linkname) ); // boolean false as filename
43 var_dump( symlink($filename, NULL) ); // NULL as linkname
44 var_dump( symlink($filename, '') ); // '' as linkname
45 var_dump( symlink($filename, false) ); // false as linkname
55 var_dump( linkinfo(NULL) ); // NULL as linkname
56 var_dump( linkinfo('') ); // empty string as linkname
57 var_dump( linkinfo(false) ); // boolean false as linkname
/PHP-7.4/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) {

Completed in 93 milliseconds

12345678910>>...151