Home
last modified time | relevance | path

Searched refs:global (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/PHP-8.0/tests/classes/
H A Dmethod_call_variation_001.phpt2 In $a->$b[Y]() and $a->X[Y]() both $a->$b[Y] and $a->X[Y] represent a global function name
8 echo "Called global foo($a, $b)\n";
24 Called global foo(1, 2)
25 Called global foo(3, 4)
26 Called global foo(5, 6)
27 Called global foo(7, 8)
H A Ddestructor_and_globals.phpt9 global $test_cnt;
17 global $test_cnt, $test_num;
28 global $test_cnt;
/PHP-8.0/ext/opcache/tests/
H A Dbug78015.phpt11 global $x;
18 global $x;
25 global $x;
32 global $x;
39 global $x;
46 global $x;
54 global $x;
77 global $x;
/PHP-8.0/Zend/tests/
H A Dthis_as_global.phpt2 $this as global variable
6 global $this;
12 Fatal error: Cannot use $this as global variable in %sthis_as_global.php on line 3
H A D035.phpt2 Using 'static' and 'global' in global scope
9 global $var, $var, $var;
H A Dbug35470.phpt2 Bug #35470 (Assigning global using variable name from array doesn't function)
6 global ${$x[0]};
H A Dfunc_get_args.phpt2 Testing func_get_args() throws error when called from the global scope
14 func_get_args() cannot be called from the global scope
H A Dglobal_to_string_exception.phpt2 To string conversion failure in global
7 global ${new stdClass};
H A Dclosure_use_auto_global.phpt2 Cannot use() auto-global
16 Fatal error: Cannot use auto-global as lexical variable in %s on line %d
H A Dbug54372.phpt2 Bug #54372 (Crash accessing global object itself returned from its __get() handle)
18 global $test3;
/PHP-8.0/ext/zlib/tests/
H A Dgzopen_include_path.inc14 global $reldirs;
28 global $newdirs, $dir4;
44 global $newdirs;
60 global $reldirs;
77 global $newdirs;
86 global $reldirs;
/PHP-8.0/ext/standard/tests/file/
H A Dfopen_include_path.inc14 global $reldirs;
28 global $newdirs, $dir4;
44 global $newdirs;
60 global $reldirs;
77 global $newdirs;
86 global $reldirs;
/PHP-8.0/ext/standard/tests/class_object/
H A Dget_class_methods_basic_003.phpt30 echo "Accessing I from global scope:\n";
32 echo "Accessing C from global scope:\n";
38 Accessing I from global scope:
43 Accessing C from global scope:
/PHP-8.0/ext/standard/tests/general_functions/
H A Ddebug_zval_dump_v.phpt6 echo "--- Variation 1: global variable inside a function ---\n";
7 $global_var = 10; //declaring global variable
9 /* function to dump reference count of global variable,$global_var
12 global $global_var;
15 echo "\n-- Value of global variable inside dump_globalvar() --\n";
19 echo "\n-- Value of global variable, before calling dump_globalvar() --\n";
23 and global variables inside the function */
118 --- Variation 1: global variable inside a function ---
120 -- Value of global variable, before calling dump_globalvar() --
126 -- Value of global variable inside dump_globalvar() --
[all …]
/PHP-8.0/ext/ldap/tests/
H A Dldap_set_rebind_proc_basic.phpt14 global $user;
15 global $passwd;
16 global $protocol_version;
H A Dldap_unbind_variation.phpt14 global $user;
15 global $passwd;
16 global $protocol_version;
H A Dldap_set_rebind_proc_error.phpt23 global $user;
24 global $passwd;
25 global $protocol_version;
/PHP-8.0/tests/lang/
H A DforeachLoopIteratorAggregate.001.phpt10 global $indent;
16 global $indent;
22 global $indent;
28 global $indent;
34 global $indent;
46 global $indent;
52 global $indent;
58 global $indent;
64 global $indent;
70 global $indent;
[all …]
H A DpassByReference_007.phpt7 global $a;
12 global $a;
17 global $a;
22 global $a;
28 global $a;
33 global $a;
H A Dbug24396.phpt2 Bug #24396 (global $$variable broken)
9 global $$k; // comment this out and it works in PHP 7 too..
H A D007.phpt2 Function call with global and static variables
11 global $b;
/PHP-8.0/Zend/tests/nullsafe_operator/
H A D027.phpt11 global $foo;
15 global $foo;
H A D028.phpt7 global $foo;
16 global $foo;
/PHP-8.0/Zend/tests/use_const/
H A Dshadow_global.phpt2 shadowing a global constant with a local version
23 string(10) "global bar"
/PHP-8.0/Zend/tests/use_function/
H A Dshadow_global.phpt2 shadowing a global function with a local version
23 string(10) "global bar"

Completed in 40 milliseconds

12345678910>>...16