Home
last modified time | relevance | path

Searched refs:as (Results 151 – 175 of 4164) sorted by relevance

12345678910>>...167

/PHP-7.2/ext/standard/tests/strings/
H A Dsprintf_variation40_64bit.phpt23 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
46 foreach($integer_values as $integer_value) {
49 foreach($unsigned_formats as $format) {
H A Dsetlocale_basic2.phpt21 /* Test the setlocale() when an array is provided as input containing list of locales */
26 * Returns : set of locale as array
47 /* Collect existing system locales and prepare a list of locales that can be used as
84 // and those known to this script ( as stored $common_locales) which can be
85 // given as input to setlocale(), later verify the new locale setting by
88 foreach($common_locales as $value) {
96 echo "-- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array --\n";
125 -- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array --
/PHP-7.2/ext/intl/tests/
H A Ddateformat_format.phpt87 foreach( $time_arr as $timestamp_entry){
91 foreach( $locale_arr as $locale_entry ){
92 foreach( $datetype_arr as $datetype_entry )
102 //Test format with input as a localtime :array
103 foreach( $localtime_arr as $localtime_entry){
106 foreach( $localtime_entry as $key => $value){
111 foreach( $locale_arr as $locale_entry ){
112 foreach( $datetype_arr as $datetype_entry )
126 foreach($dates as $date_entry) {
127 foreach( $locale_arr as $locale_entry ){
[all …]
/PHP-7.2/ext/zlib/tests/
H A Dgzfile_variation11.phpt24 foreach ( $variation as $var ) {
44 string(19) "as it turns around
64 string(19) "as it turns around
84 string(19) "as it turns around
104 string(19) "as it turns around
124 string(19) "as it turns around
/PHP-7.2/ext/standard/tests/array/
H A Darray_change_key_case_variation6.phpt20 echo "\n-- Pass a two-dimensional array as \$input argument --\n";
23 echo "\n-- Pass a sub-arry as \$input argument --\n";
31 -- Pass a two-dimensional array as $input argument --
62 -- Pass a sub-arry as $input argument --
H A Darray_walk_variation8.phpt2 Test array_walk() function : usage variations - buit-in function as callback
11 * Passing different buit-in functionns as callback function
17 echo "*** Testing array_walk() : built-in function as callback ***\n";
33 *** Testing array_walk() : built-in function as callback ***
H A Darray_walk_recursive_variation8.phpt2 Test array_walk_recursive() function : usage variations - buit-in function as callback
11 * Passing different buit-in functionns as callback function
17 echo "*** Testing array_walk_recursive() : built-in function as callback ***\n";
33 *** Testing array_walk_recursive() : built-in function as callback ***
/PHP-7.2/Zend/tests/
H A Dforeach_004.phpt25 foreach(['rewind', 'valid', 'key', 'next'] as $trap) {
29 foreach ($obj as $key => &$val) echo "$val\n";
37 foreach (new IT($trap) as $key => &$val) echo "$val\n";
44 foreach ((object)new IT($trap) as $key => &$val) echo "$val\n";
H A Dthis_as_parameter.phpt2 $this as parameter
11 Fatal error: Cannot use $this as parameter in %sthis_as_parameter.php on line 2
H A Dforeach_005.phpt6 foreach($a as &$x) {
7 foreach($a as &$y) {
H A Dspecial_name_error1.phpt2 Cannot use special class name as namespace
10 Fatal error: Cannot use 'self' as namespace name in %s on line %d
/PHP-7.2/ext/dom/tests/
H A Ddom005.phpt9 print "--- save as XML\n";
12 print "--- save as HTML\n";
20 --- save as XML
27 --- save as HTML
/PHP-7.2/ext/spl/tests/
H A Dbug50579.phpt17 foreach ($i as $name=>$value) {
22 foreach ($i as $name=>$value) {
29 foreach ($i as $name=>$value) {
H A Dobserver_003.phpt18 foreach(array(1,"2","foo",true) as $value)
25 foreach($storage as $object)
37 foreach($storage2 as $object)
H A Dbug51068.phpt9 foreach ($iter as $f) {
14 foreach ($iter as $f) {
19 foreach ($iter as $f) {
H A Diterator_024.phpt8 foreach(new RecursiveIteratorIterator(new ArrayObject($ar, 0, "RecursiveArrayIterator")) as $v) ech…
15 foreach(new RecursiveIteratorIterator(new ArrayObject($ar)) as $v) echo "$v\n";
26 foreach(new RecursiveIteratorIterator($it) as $v) echo "$v\n";
/PHP-7.2/Zend/tests/use_const/
H A Dself_parent.phpt7 use const self as foo;
8 use const parent as bar;
/PHP-7.2/Zend/tests/use_function/
H A Dself_parent.phpt7 use function self as foo;
8 use function parent as bar;
/PHP-7.2/ext/pdo/tests/
H A Dbug_72788.phpt22 echo "Statement failed as expected\n";
31 Statement failed as expected
32 Statement failed as expected
/PHP-7.2/ext/pdo_firebird/tests/
H A Dbug_76488.phpt11 with recursive r(n) as (
17 cast(lpad(\'A\', 8000, \'A\') as BLOB sub_type TEXT) as SRC
/PHP-7.2/tests/lang/
H A DforeachLoop.004.phpt2 Foreach loop tests - using an array element as the $value
8 foreach($a as $v[0]) {
17 foreach($a as $k=>$v[0]) {
/PHP-7.2/ext/pdo_oci/tests/
H A Dpdo_oci_attr_prefetch_2.phpt16 $s = $dbh->prepare("select '' as myempty, null as mynull from dual", array(PDO::ATTR_PREFETCH => 10…
29 $s = $dbh->prepare("select '' as myempty, null as mynull from dual", array(PDO::ATTR_PREFETCH => 0)…
/PHP-7.2/ext/pdo_pgsql/tests/
H A Dbug64953.phpt20 $st = $pdo->prepare('SELECT ?::char as i');
26 $st = $pdo->prepare('SELECT (?)::char as i');
33 $st = $pdo->prepare("SELECT :int::int as i");
37 $st = $pdo->prepare("SELECT '''?'''::text as \":text\"");
/PHP-7.2/ext/standard/tests/dir/
H A Dscandir_variation9-win32-mb.phpt2 Test scandir() function : usage variations - different ints as $sorting_order arg
17 * Pass different integers as $sorting_order argument to test how scandir()
31 // different ints to pass as $sorting_order argument
34 foreach($ints as $sorting_order) {
/PHP-7.2/ext/reflection/tests/
H A Dbug38465.phpt23 foreach ($clazz->getMethods() as $method) {
24 foreach ($method->getParameters() as $param) {
36 foreach ($clazz->getMethods() as $method) {
37 foreach ($method->getParameters() as $param) {

Completed in 31 milliseconds

12345678910>>...167