Home
last modified time | relevance | path

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

12345678910>>...14

/PHP-7.4/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-7.4/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-7.4/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 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 Dbug46106.phpt2 Bug #46106 (Memory leaks when using global statement)
12 global $foo;
H A Dbug54372.phpt2 Bug #54372 (Crash accessing global object itself returned from its __get() handle)
18 global $test3;
/PHP-7.4/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-7.4/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-7.4/ext/standard/tests/general_functions/
H A Ddebug_zval_dump_v.phpt11 echo "--- Variation 1: global variable inside a function ---\n";
12 $global_var = 10; //declaring global variable
14 /* function to dump reference count of global variable,$global_var
17 global $global_var;
20 echo "\n-- Value of global variable inside dump_globalvar() --\n";
24 echo "\n-- Value of global variable, before calling dump_globalvar() --\n";
28 and global variables inside the function */
123 --- Variation 1: global variable inside a function ---
125 -- Value of global variable, before calling dump_globalvar() --
131 -- Value of global variable inside dump_globalvar() --
[all …]
/PHP-7.4/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;
/PHP-7.4/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-7.4/ext/standard/tests/class_object/
H A Dget_class_methods_basic_003.phpt36 echo "Accessing I from global scope:\n";
38 echo "Accessing C from global scope:\n";
44 Accessing I from global scope:
49 Accessing C from global scope:
/PHP-7.4/Zend/tests/use_const/
H A Dshadow_global.phpt2 shadowing a global constant with a local version
23 string(10) "global bar"
/PHP-7.4/Zend/tests/use_function/
H A Dshadow_global.phpt2 shadowing a global function with a local version
23 string(10) "global bar"
/PHP-7.4/ext/intl/
H A DERROR_CONVENTIONS.md8 The global error code can be obtained in userland with `intl_get_error_code()`.
13 the PHP wrapper function should set the global error code to
26 The internal PHP code can set the global last error with:
40 unless the error is due to bad arguments, in which case only the global error
53 The global error and the object error can be SIMULTANEOUSLY set with these
65 Static methods should only set the global error.
71 private `intl_error` structured and mirror the global `intl_get_error_code()`
82 * Intl functions and methods should reset the global error before doing anything
92 void intl_error_reset(NULL); /* reset global error */
93 void intl_errors_reset(intl_error* err); /* reset global and object error */
[all …]
/PHP-7.4/ext/pcre/tests/
H A Dbug44214_2.phpt2 Bug #44214-2 (crash with preg_replace_callback() and global variable)
10 global $array;
H A Dbug44214.phpt2 Bug #44214 (crash with preg_replace_callback() and global variable)
10 global $array;
/PHP-7.4/ext/standard/tests/array/
H A Dbug25359.phpt2 Bug #25359 (array_multisort() does not work in a function if array is global or reference)
8 global $data; // Remove this line to make array_multisort() work

Completed in 25 milliseconds

12345678910>>...14