/PHP-7.2/Zend/tests/grammar/ |
H A D | semi_reserved_003.phpt | 8 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.2/Zend/tests/assert/ |
H A D | expect_020.phpt | 9 $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.2/ext/standard/tests/class_object/ |
H A D | get_class_vars_variation2.phpt | 22 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.2/ext/wddx/tests/ |
H A D | bug35410.phpt | 23 <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 D | bug35410_64bit.phpt | 23 <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 D | 004.phpt | 63 …var name='data'><struct><var name='test1'><boolean value='true'/></var><var name='test2'><string>s…
|
H A D | 005.phpt | 41 …var name='data'><struct><var name='test1'><boolean value='true'/></var><var name='test2'><string>s…
|
H A D | bug72340.phpt | 13 <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 D | bug72790.phpt | 17 <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 D | 002.phpt | 21 …var name='var1'><null/></var><var name='var2'><string>some string</string></var><var name='var3'><…
|
H A D | 003.phpt | 11 …var name='var1'><null/></var><var name='var2'><string>some string</string></var><var name='var3'><…
|
/PHP-7.2/Zend/tests/ |
H A D | 035.phpt | 6 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 D | constant_expressions_coalesce.phpt | 22 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 D | ns_010.phpt | 9 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.2/ext/filter/tests/ |
H A D | 038.phpt | 8 $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.2/ext/pdo_firebird/ |
H A D | firebird_statement.c | 43 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() 207 ? (var->aliasname_length + var->relname_length + 1) in firebird_stmt_describe() 214 memmove(cp, var->relname, var->relname_length); in firebird_stmt_describe() 218 memmove(cp, var->aliasname, var->aliasname_length); in firebird_stmt_describe() 494 XSQLVAR *var; in firebird_stmt_param_hook() local 548 var->sqlind = (void*)emalloc(var->sqllen + 2*sizeof(short)); in firebird_stmt_param_hook() 549 var->sqldata = &((char*)var->sqlind)[sizeof(short)]; in firebird_stmt_param_hook() 612 var->sqltype = SQL_DOUBLE | (var->sqltype & 1); in firebird_stmt_param_hook() [all …]
|
/PHP-7.2/ext/pcre/tests/ |
H A D | 005.phpt | 88 [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.2/ext/opcache/Optimizer/ |
H A D | zend_ssa.h | 152 ZEND_ASSERT(var->use_chain < 0); in _zend_ssa_remove_def() 153 ZEND_ASSERT(!var->phi_use_chain); in _zend_ssa_remove_def() 154 var->definition = -1; in _zend_ssa_remove_def() 160 _zend_ssa_remove_def(var); in zend_ssa_remove_result_def() 167 _zend_ssa_remove_def(var); in zend_ssa_remove_op1_def() 174 _zend_ssa_remove_def(var); in zend_ssa_remove_op2_def() 183 if (ssa_op->op1_use == var) { in END_EXTERN_C() 199 if (p->sources[j] == var) { in zend_ssa_next_use_phi() 210 return ssa_op->op1_use == var && ssa_op->op2_use != var; in zend_ssa_is_no_val_use() 213 return ssa_op->op2_use == var && ssa_op->op1_use != var; in zend_ssa_is_no_val_use() [all …]
|
H A D | optimize_temp_vars_5.c | 86 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 D | zend_ssa.c | 97 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() 476 var = EX_VAR_TO_NUM((opline-1)->op1.var); in place_essa_pis() 479 var = EX_VAR_TO_NUM((opline-1)->op2.var); in place_essa_pis() 552 var[phi->var] = ssa_vars_count; in zend_ssa_rename() 555 var[phi->var] = phi->ssa_var; in zend_ssa_rename() 804 p->sources[j] = var[p->var]; in zend_ssa_rename() 817 p->sources[j] = var[p->var]; in zend_ssa_rename() 824 if (q->pi < 0 && q->var == p->var) { in zend_ssa_rename() [all …]
|
H A D | ssa_integrity.c | 123 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.2/Zend/tests/generators/ |
H A D | yield_ref_function_call_by_reference.phpt | 6 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.2/ext/standard/tests/general_functions/ |
H A D | isset_basic2.phpt | 5 /* 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]));
|
/PHP-7.2/ext/standard/ |
H A D | type.c | 48 zval *var; in PHP_FUNCTION() local 53 Z_PARAM_ZVAL_DEREF(var) in PHP_FUNCTION() 58 convert_to_long(var); in PHP_FUNCTION() 60 convert_to_long(var); in PHP_FUNCTION() 62 convert_to_double(var); in PHP_FUNCTION() 64 convert_to_double(var); in PHP_FUNCTION() 68 convert_to_array(var); in PHP_FUNCTION() 76 convert_to_null(var); in PHP_FUNCTION() 362 Z_PARAM_ZVAL(var) in PHP_FUNCTION() 391 zval *var; in PHP_FUNCTION() local [all …]
|
/PHP-7.2/ext/spl/tests/ |
H A D | array_023.phpt | 8 public $var = 'a'; 15 var_dump($a->var); 20 var_dump($a->var); 24 public $var = 'aaa'; 31 var_dump($a->var); 36 var_dump($a->var); 41 ["var"]=> 53 ["var"]=> 65 ["var"]=> 77 ["var"]=>
|