/PHP-7.2/Zend/tests/traits/ |
H A D | bug64235b.phpt | 28 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' …
|
H A D | language008b.phpt | 2 Visibility can be changed with the as aliasing construct as well. 14 use HelloWorld { sayHello as private sayHelloWorld; }
|
/PHP-7.2/ext/spl/tests/ |
H A D | dllist_003.phpt | 12 foreach ($dll as $k => $v) { 17 foreach ($dll as $k => $v) { 23 foreach ($dll as $k => $v) {
|
/PHP-7.2/Zend/tests/try/ |
H A D | try_finally_019.phpt | 15 foreach ([new A(1)] as $a) { 18 foreach ([new A(2)] as $a) { 21 foreach ([new A(3)] as $a) {
|
H A D | try_finally_020.phpt | 15 foreach ([new A(1)] as $a) { 18 foreach ([new A(2)] as $a) { 21 foreach ([new A(3)] as $a) {
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | setlocale_basic3.phpt | 2 Test setlocale() function : basic functionality - passing multiple locales as argument 21 /* Test the setlocale() when multiple locales are provided as argument */ 26 Returns : set of locale as array 48 pass as argument to setlocale() */ 49 echo "*** Testing setlocale() by passing multiple locales as argument ***\n"; 69 // Now check for three locales that is present in the system and use that as argument to setlocale() 73 …echo "-- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.u… 98 *** Testing setlocale() by passing multiple locales as argument *** 99 -- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh…
|
H A D | sprintf_variation10.phpt | 21 0x123B, // integer as hexadecimal 25 -0x80000000, // max negative integer as hexadecimal 26 0x7fffffff, // max positive integer as hexadecimal 27 0x7FFFFFFF, // max positive integer as hexadecimal 28 0123, // integer as octal 30 -020000000000, // max negative integer as octal 31 017777777777 // max positive integer as octal 43 foreach($integer_values as $int_value) { 46 foreach($float_formats as $format) {
|
H A D | sprintf_variation3.phpt | 21 0x123B, // integer as hexadecimal 25 -0x80000000, // max negative integer as hexadecimal 26 0x7fffffff, // max positive integer as hexadecimal 27 0x7FFFFFFF, // max positive integer as hexadecimal 28 0123, // integer as octal 30 -020000000000, // max negative integer as octal 31 017777777777 // max positive integer as octal 42 foreach($valid_ints as $int_value) { 45 foreach($int_formats as $format) {
|
H A D | md5_file.phpt | 41 /* Scalar value as filename */ 44 /* NULL as filename */ 53 /* Hexadecimal Output for Empty file as input */ 54 echo "\n*** Hexadecimal Output for Empty file as Argument ***\n"; 57 /* Raw Binary Output for Empty file as input */ 58 echo "\n*** Raw Binary Output for Empty file as Argument ***\n"; 96 *** Hexadecimal Output for Empty file as Argument *** 99 *** Raw Binary Output for Empty file as Argument ***
|
H A D | strrchr_basic.phpt | 11 var_dump( strrchr("Hello, World", "H") ); //needle as single char 12 var_dump( strrchr("Hello, World", "Hello") ); //needle as a first word of haystack 20 //needle as second word of haystack 24 //needle as special char 28 var_dump( strrchr("Hello, World", "Hello, World") ); //needle as haystack
|
H A D | setlocale_variation1.phpt | 2 Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument 21 /* Test the setlocale() when multiple valid/invalid locales are provided as argument */ 26 Returns : set of locale as array 48 pass as argument to setlocale(), pass 2 invalid arguments along with two valid arguments*/ 49 echo "*** Testing setlocale() by passing multiple valid/invalid locales as argument ***\n"; 68 // Now check for three locales that is present in the system and use that as argument to setlocale() 72 …echo "-- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_U… 97 *** Testing setlocale() by passing multiple valid/invalid locales as argument *** 98 -- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8,…
|
H A D | sprintf_variation28.phpt | 27 0x123B, // integer as hexadecimal 31 -0x80000000, // max negative integer as hexadecimal 32 0x7fffffff, // max positive integer as hexadecimal 33 0x7FFFFFFF, // max positive integer as hexadecimal 34 0123, // integer as octal 36 -020000000000, // max negative integer as octal 37 017777777777 // max positive integer as octal 49 foreach($integer_values as $integer_value) { 52 foreach($octal_formats as $format) {
|
H A D | sprintf_variation28_64bit.phpt | 23 0x123B, // integer as hexadecimal 27 -0x80000000, // max negative integer as hexadecimal 28 0x7fffffff, // max positive integer as hexadecimal 29 0x7FFFFFFF, // max positive integer as hexadecimal 30 0123, // integer as octal 32 -020000000000, // max negative integer as octal 33 017777777777 // max positive integer as octal 45 foreach($integer_values as $integer_value) { 48 foreach($octal_formats as $format) {
|
H A D | sprintf_variation40.phpt | 27 0x123B, // integer as hexadecimal 31 -0x80000000, // max negative integer as hexadecimal 32 0x7fffffff, // max positive integer as hexadecimal 33 0x7FFFFFFF, // max positive integer as hexadecimal 34 0123, // integer as octal 36 -020000000000, // max negative integer as octal 37 017777777777 // max positive integer as octal 50 foreach($integer_values as $integer_value) { 53 foreach($unsigned_formats as $format) {
|
/PHP-7.2/ext/zlib/tests/ |
H A D | readgzfile_variation12.phpt | 22 foreach ( $variation as $var ) { 32 as it turns around 39 as it turns around 46 as it turns around 53 as it turns around
|
H A D | deflate_add_basic.phpt | 51 foreach ($modes as $modeKey => $mode) { 52 foreach ($flushSizes as $flushSize) { 53 foreach ($flushTypes as $flushTypeKey => $flushType) { 56 foreach (range("a", "z") as $c) {
|
H A D | readgzfile_variation9.phpt | 21 foreach ( $variation as $var ) { 31 as it turns around 38 as it turns around 45 as it turns around 52 as it turns around
|
/PHP-7.2/ext/intl/tests/ |
H A D | msgfmt_format_subpatterns.phpt | 26 other {{2} invites {3} as one of the # people invited to her party.}}} 31 other {{2} invites {3} as one of the # other people invited to his party.}}} 36 other {{2} invites {3} as one of the # other people invited to their party.}}}} 54 foreach ($args as $arg) { 74 'Alice invites Bob as one of the 26 people invited to her party.' 75 'Alice invites Bob as one of the 26 people invited to her party.'
|
/PHP-7.2/ext/reflection/tests/ |
H A D | traits005.phpt | 9 class C3 { use T1 { m1 as a1; } } 10 class C4 { use T1 { m1 as a1; m2 as a2; } }
|
/PHP-7.2/ext/date/tests/ |
H A D | bug51819.phpt | 10 foreach (array_keys($aTzAbbr) as $sKey) { 11 foreach (array_keys($aTzAbbr[$sKey]) as $iIndex) { 20 foreach ($aTz as $sTz) {
|
/PHP-7.2/tests/lang/ |
H A D | foreachLoop.002.phpt | 8 foreach ($a as $k=>$v) { 16 foreach ($a as $k=>$v) { 24 foreach ($a as $k=>&$v) { 32 foreach ($a as $v) { 46 foreach ($a as &$v) { 59 foreach ($a as $v) { 67 foreach ($a as &$v) {
|
/PHP-7.2/ext/standard/tests/dir/ |
H A D | scandir_variation9.phpt | 2 Test scandir() function : usage variations - different ints as $sorting_order arg 11 * Pass different integers as $sorting_order argument to test how scandir() 25 // different ints to pass as $sorting_order argument 28 foreach($ints as $sorting_order) {
|
/PHP-7.2/ext/filter/docs/ |
H A D | filter.txt | 46 configured filter. The 'callback' filter can not be used here, as that 50 quotes or slashes added - it will be the pure data as send by the browser. 59 filter as specified in *$filter* with a constant, and additional options 64 The keys are used as the name of the argument. The value can be either 76 Filters the user supplied variable *$variable* in the same manner as 127 0nn as input too. 202 them as numerical HTML entities 204 them as numerical HTML entities 205 * ENCODE_AMP: encodes & as & 258 * ENCODE_AMP: encodes & as & [all …]
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | in_array_variation3.phpt | 2 Test in_array() function : usage variations - haystack as sub-array/object 12 /* Test in_array() with haystack as sub-array and object */ 38 //error: as wrong datatype for second argument 40 //error: as wrong datatype for second argument 42 //element found as "one" exists in array $array_var
|
/PHP-7.2/tests/classes/ |
H A D | static_properties_003.phpt | 33 Notice: Accessing static property C::$x as non static in %s on line 11 35 Notice: Accessing static property C::$x as non static in %s on line 12 39 Notice: Accessing static property C::$x as non static in %s on line 13 41 Notice: Accessing static property C::$x as non static in %s on line 15 43 Notice: Accessing static property C::$x as non static in %s on line 16
|