Home
last modified time | relevance | path

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

12345678910>>...36

/PHP-7.0/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.0/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.0/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 D005.phpt41var name='data'><struct><var name='test1'><boolean value='true'/></var><var name='test2'><string>s…
H A D004.phpt63var 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.0/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 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
H A Dassign_to_var_003.phpt6 $var = 0.213123123;
7 $var1 = &$var;
8 $var = $var[1];
10 var_dump($var);
H A Dassign_to_var_001.phpt6 $var = array(1,2,3);
7 $var1 = &$var;
8 $var = $var[1];
10 var_dump($var);
H A Dassign_to_var_002.phpt6 $var = "intergalactic";
7 $var1 = &$var;
8 $var = $var[5];
10 var_dump($var);
H A Derrmsg_039.phpt7 var $var;
8 var $var;
14 Fatal error: Cannot redeclare test::$var in %s on line %d
H A Dns_037.phpt9 static $var = "var ok\n";
26 echo X::$var;
27 echo Y\X::$var;
28 echo \X\X::$var;
39 var ok
40 var ok
41 var ok
/PHP-7.0/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.0/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()
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.0/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.0/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.0/ext/opcache/Optimizer/
H A Doptimize_temp_vars_5.c83 currT = VAR_NUM(ZEND_OP1(opline).var) - offset; in optimize_temporary_variables()
86 int var; in optimize_temporary_variables() local
88 var = max; in optimize_temporary_variables()
89 while (var >= 0 && !zend_bitset_in(taken_T, var)) { in optimize_temporary_variables()
90 var--; in optimize_temporary_variables()
92 max = MAX(max, var + num); in optimize_temporary_variables()
93 var = var + 1; in optimize_temporary_variables()
94 map_T[currT] = var; in optimize_temporary_variables()
96 zend_bitset_incl(taken_T, var); in optimize_temporary_variables()
97 ZEND_OP1(opline).var = NUM_VAR(var + offset); in optimize_temporary_variables()
[all …]
/PHP-7.0/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]));
/PHP-7.0/ext/spl/tests/
H A Darray_023.phpt8 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"]=>

Completed in 33 milliseconds

12345678910>>...36