Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 944) sorted by relevance

12345678910>>...38

/PHP-7.3/Zend/tests/grammar/
H A Dsemi_reserved_003.phpt8 var $empty = 'empty';
10 var $class = 'class';
11 var $trait = 'trait';
26 var $and = 'and';
33 var $new = 'new';
34 var $or = 'or';
38 var $var = 'var';
59 var $if = 'if';
66 var $do = 'do';
68 var $as = 'as';
[all …]
/PHP-7.3/Zend/tests/assert/
H A Dexpect_020.phpt9 $var = 'test';
10 $str = "$var, $var[1], {$var}[], {$var[1]}[], ${var}[], ${var[1]}[]";
15 $var = 'test';
16 $str = "$var, {$var[1]}, {$var}[], {$var[1]}[], {$var}[], {$var[1]}[]";
/PHP-7.3/ext/standard/tests/class_object/
H A Dget_class_vars_variation2.phpt22 public $pub = "public var";
84 string(10) "public var"
92 string(10) "public var"
94 string(13) "protected var"
96 string(11) "private var"
108 string(10) "public var"
112 string(11) "private var"
124 string(10) "public var"
136 string(10) "public var"
148 string(10) "public var"
[all …]
/PHP-7.3/ext/wddx/tests/
H A Dbug35410.phpt23 <var name="max">
25 </var>
26 <var name="cache">
28 </var>
29 <var name="order">
35 </var>
37 </var>
39 </var>
41 </var>
43 </var>
[all …]
H A Dbug35410_64bit.phpt23 <var name="max">
25 </var>
26 <var name="cache">
28 </var>
29 <var name="order">
35 </var>
37 </var>
39 </var>
41 </var>
43 </var>
[all …]
H A D004.phpt63var name='data'><struct><var name='test1'><boolean value='true'/></var><var name='test2'><string>s…
H A D005.phpt41var name='data'><struct><var name='test1'><boolean value='true'/></var><var name='test2'><string>s…
H A Dbug72340.phpt13 <array><var name="XXXXXXXX"><boolean value="none">TEST</boolean></var>
14 <var name="YYYYYYYY"><var name="ZZZZZZZZ"><var name="EZEZEZEZ">
15 </var></var></var>
H A Dbug72790.phpt17 <var name="XXXX">
20 </var>
21 <var name="YYYY">
22 <var name="UUUU">
23 <var name="EZEZ">
24 </var>
25 </var>
26 </var>
H A D002.phpt21var name='var1'><null/></var><var name='var2'><string>some string</string></var><var name='var3'><…
H A D003.phpt11var name='var1'><null/></var><var name='var2'><string>some string</string></var><var name='var3'><…
/PHP-7.3/Zend/tests/
H A D035.phpt6 static $var, $var, $var = -1;
7 var_dump($var);
9 global $var, $var, $var;
10 var_dump($var);
12 var_dump($GLOBALS['var']);
H A Dconstant_expressions_coalesce.phpt22 var_dump((function(){ static $var = null ?? A[1]['undefined']['index'] ?? 1; return $var; })());
23 var_dump((function(){ static $var = null ?? A['undefined']['index'] ?? 2; return $var; })());
24 var_dump((function(){ static $var = null ?? A[1][0][2] ?? 3; return $var; })());
25 var_dump((function(){ static $var = A[1][0][2] ?? 4; return $var; })());
27 var_dump((new class { public $var = null ?? A[1]['undefined']['index'] ?? 1; })->var);
28 var_dump((new class { public $var = null ?? A['undefined']['index'] ?? 2; })->var);
29 var_dump((new class { public $var = null ?? A[1][0][2] ?? 3; })->var);
30 var_dump((new class { public $var = A[1][0][2] ?? 4; })->var);
H A Dassign_to_var_003.phpt6 $var = 0.213123123;
7 $var1 = &$var;
8 $var = $var[1];
10 var_dump($var);
H A Dns_010.phpt9 static $var = "var ok\n";
26 echo Foo::$var;
27 echo Y\Foo::$var;
28 echo \X\Foo::$var;
39 var ok
40 var ok
41 var ok
/PHP-7.3/ext/filter/tests/
H A D038.phpt8 $var = 12;
9 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL));
12 $var = array(12);
13 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL));
16 $var = 12;
17 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_FORCE_AR…
22 $var = 12;
23 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_REQUIRE_…
26 $var = array(12);
30 $var = array(12);
[all …]
/PHP-7.3/ext/pdo_firebird/
H A Dfirebird_statement.c43 if (var->sqlind) { in free_sqlda()
107 var->sqlind = (void*)ecalloc(1, var->sqllen + 2 * sizeof(short)); in firebird_stmt_execute()
108 var->sqldata = &((char*)var->sqlind)[sizeof(short)]; in firebird_stmt_execute()
214 ? (var->aliasname_length + var->relname_length + 1) in firebird_stmt_describe()
221 memmove(cp, var->relname, var->relname_length); in firebird_stmt_describe()
225 memmove(cp, var->aliasname, var->aliasname_length); in firebird_stmt_describe()
517 XSQLVAR *var; in firebird_stmt_param_hook() local
571 var->sqlind = (void*)emalloc(var->sqllen + 2*sizeof(short)); in firebird_stmt_param_hook()
572 var->sqldata = &((char*)var->sqlind)[sizeof(short)]; in firebird_stmt_param_hook()
635 var->sqltype = SQL_DOUBLE | (var->sqltype & 1); in firebird_stmt_param_hook()
[all …]
/PHP-7.3/ext/pcre/tests/
H A D005.phpt88 [2] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
91 [5] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
103 [2] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
106 [5] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
119 [5] => /p2/var/php_gcov/PHP_4_4/ext/oci8/oci8.c
222 [5] => /p2/var/php_gcov/PHP_4_4/regex/regexec.c
305 [2] => /p2/var/php_gcov/PHP_4_4/ext/yp/yp.c
308 [5] => /p2/var/php_gcov/PHP_4_4/ext/yp/yp.c
402 [5] => /p2/var/php_gcov/PHP_4_4/Zend/zend_ini.c
449 [5] => /p2/var/php_gcov/PHP_5_2/ext/ming/ming.c
[all …]
/PHP-7.3/ext/opcache/Optimizer/
H A Doptimize_temp_vars_5.c86 int var; in zend_optimize_temporary_variables() local
88 var = max; in zend_optimize_temporary_variables()
89 while (var >= 0 && !zend_bitset_in(taken_T, var)) { in zend_optimize_temporary_variables()
90 var--; in zend_optimize_temporary_variables()
92 max = MAX(max, var + num); in zend_optimize_temporary_variables()
93 var = var + 1; in zend_optimize_temporary_variables()
94 map_T[currT] = var; in zend_optimize_temporary_variables()
96 zend_bitset_incl(taken_T, var); in zend_optimize_temporary_variables()
97 opline->op1.var = NUM_VAR(var + offset); in zend_optimize_temporary_variables()
100 zend_bitset_incl(taken_T, var + num); in zend_optimize_temporary_variables()
[all …]
H A Dzend_ssa.h159 ZEND_ASSERT(var->definition >= 0); in _zend_ssa_remove_def()
160 ZEND_ASSERT(var->use_chain < 0); in _zend_ssa_remove_def()
161 ZEND_ASSERT(!var->phi_use_chain); in _zend_ssa_remove_def()
162 var->definition = -1; in _zend_ssa_remove_def()
168 _zend_ssa_remove_def(var); in zend_ssa_remove_result_def()
175 _zend_ssa_remove_def(var); in zend_ssa_remove_op1_def()
182 _zend_ssa_remove_def(var); in zend_ssa_remove_op2_def()
191 if (ssa_op->op1_use == var) { in END_EXTERN_C()
207 if (p->sources[j] == var) { in zend_ssa_next_use_phi()
218 return ssa_op->op1_use == var && ssa_op->op2_use != var; in zend_ssa_is_no_val_use()
[all …]
H A Dzend_ssa.c97 phi->var = var; in add_pi()
137 pi_range(phi, var, var, val, val, 0, 0, 0); in pi_range_equals()
140 pi_range(phi, var, var, val, val, 0, 0, 1); in pi_range_not_equals()
474 var = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis()
477 var = EX_VAR_TO_NUM((opline-1)->op2.var); in place_essa_pis()
550 var[phi->var] = ssa_vars_count; in zend_ssa_rename()
553 var[phi->var] = phi->ssa_var; in zend_ssa_rename()
815 p->sources[j] = var[p->var]; in zend_ssa_rename()
828 p->sources[j] = var[p->var]; in zend_ssa_rename()
835 if (q->pi < 0 && q->var == p->var) { in zend_ssa_rename()
[all …]
H A Dssa_integrity.c123 if (var->definition < 0 && !var->definition_phi && i > op_array->last_var) { in ssa_verify_integrity()
127 if (var->phi_use_chain) { in ssa_verify_integrity()
131 if (var->definition >= 0 && var->definition_phi) { in ssa_verify_integrity()
147 FOREACH_USE(var, use) { in ssa_verify_integrity()
216 if (VAR_NUM(opline->op1.var) != ssa->vars[ssa_op->op1_use].var) { in ssa_verify_integrity()
229 if (VAR_NUM(opline->op2.var) != ssa->vars[ssa_op->op2_use].var) { in ssa_verify_integrity()
242 if (VAR_NUM(opline->result.var) != ssa->vars[ssa_op->result_use].var) { in ssa_verify_integrity()
255 if (VAR_NUM(opline->op1.var) != ssa->vars[ssa_op->op1_def].var) { in ssa_verify_integrity()
268 if (VAR_NUM(opline->op2.var) != ssa->vars[ssa_op->op2_def].var) { in ssa_verify_integrity()
281 if (VAR_NUM(opline->result.var) != ssa->vars[ssa_op->result_def].var) { in ssa_verify_integrity()
[all …]
/PHP-7.3/Zend/tests/generators/
H A Dyield_ref_function_call_by_reference.phpt6 function &nop(&$var) {
7 return $var;
10 function &gen(&$var) {
11 yield nop($var);
14 $var = "foo";
15 $gen = gen($var);
20 var_dump($var);
/PHP-7.3/ext/standard/
H A Dtype.c46 zval *var; in PHP_FUNCTION() local
51 Z_PARAM_ZVAL_DEREF(var) in PHP_FUNCTION()
56 convert_to_long(var); in PHP_FUNCTION()
58 convert_to_long(var); in PHP_FUNCTION()
66 convert_to_array(var); in PHP_FUNCTION()
74 convert_to_null(var); in PHP_FUNCTION()
357 Z_PARAM_ZVAL(var) in PHP_FUNCTION()
386 zval *var; in PHP_FUNCTION() local
389 Z_PARAM_ZVAL(var) in PHP_FUNCTION()
400 zval *var; in PHP_FUNCTION() local
[all …]
/PHP-7.3/ext/standard/tests/general_functions/
H A Disset_basic2.phpt5 /* Prototype : bool isset ( mixed $var [, mixed $var [, $... ]] )
31 var_dump(isset($var));
32 var_dump(isset($var[1]));
33 var_dump(isset($var, $var[1]));
35 $var[1] = 10;
36 var_dump(isset($var));
37 var_dump(isset($var[1]));
38 var_dump(isset($var, $var[1]));

Completed in 54 milliseconds

12345678910>>...38