/php-src/Zend/tests/prop_const_expr/ |
H A D | basic_nullsafe.phpt | 2 Nullsafe property constant expression
|
/php-src/ext/opcache/tests/ |
H A D | invalid_new_dce.phpt | 42 Cannot declare self-referencing constant Abc::BAR
|
/php-src/Zend/tests/ |
H A D | class_constant_inheritance_mutable_data.phpt | 2 Class constant inheritance with mutable data
|
H A D | dynamic_class_const_fetch_cache_slot.phpt | 2 Dynamic class constant fetch
|
H A D | bug79778.phpt | 52 Undefined constant "CONST_REF"
|
H A D | ns_057.phpt | 59 Fatal error: Uncaught Error: Undefined constant "Test\ns1\unknown" in %s:%d
|
H A D | ns_058.phpt | 57 Fatal error: Uncaught Error: Undefined constant "unknown" in %s:%d
|
/php-src/ext/standard/tests/math/ |
H A D | round_gh12143_expand-rounding-target.phpt | 78 var_dump(round($val, $precision, constant($mode)));
|
/php-src/Zend/ |
H A D | zend_compile.h | 68 uint32_t constant; member 87 zval constant; /* replaced by literal/zv */ member 738 CT_CONSTANT_EX(CG(active_op_array), (node).constant) 748 (node).zv = CT_CONSTANT_EX(op_array, (node).constant); \ 759 ((zval*)(((char*)(opline)) + (int32_t)(node).constant)) 763 (node).constant = \ 764 (((char*)CT_CONSTANT_EX(op_array, (node).constant)) - \ 772 (node).constant = RT_CONSTANT(opline, node) - (op_array)->literals; \
|
/php-src/ext/reflection/tests/ |
H A D | gh9447.phpt | 2 GH-9447: Invalid class FQN emitted by AST dump for new and class constants in constant expressions
|
/php-src/ext/curl/tests/ |
H A D | bug54798.phpt | 46 checkForClosedFilePointer($host, constant($option), $option);
|
H A D | bug54798-unix.phpt | 52 checkForClosedFilePointer($host, constant($option), $option);
|
/php-src/Zend/Optimizer/ |
H A D | zend_cfg.h | 107 CT_CONSTANT_EX(op_array, (node).constant) \
|
/php-src/ext/pcre/tests/ |
H A D | bug69864.phpt | 11 const PREG_CACHE_SIZE = 4096; // this has to be >= the resp. constant in php_pcre.c
|
/php-src/ext/readline/tests/ |
H A D | bug77812-libedit.phpt | 33 Warning: Uncaught Error: Undefined constant "FOO" in php shell code:1
|
H A D | bug77812-readline.phpt | 42 Warning: Uncaught Error: Undefined constant "FOO" in php shell code:1
|
/php-src/Zend/tests/constexpr/ |
H A D | new.phpt | 2 new in constant expressions
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_param_call_user_func.phpt | 142 …print "Call user func, object oriented, using constant for types. using references for bound param… 257 …al, using references for bound parameter, using variable for resource, using constant for types\n"; 280 …sing references for bound parameter, using variable for resource, using constant for types, array\… 344 Call user func, object oriented, using constant for types. using references for bound parameter 356 …edural, using references for bound parameter, using variable for resource, using constant for types 359 … using references for bound parameter, using variable for resource, using constant for types, array
|
/php-src/ext/bcmath/tests/ |
H A D | bcround_early_return.phpt | 60 …$precision}]", 33, ' ', STR_PAD_LEFT) . ' => ' . bcround($num, $precision, constant($mode)) . "\n";
|
/php-src/tests/func/ |
H A D | 010.phpt | 10 // the stack size + some random constant
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 1086 zend_constant *constant; in _extension_string() local 1091 _const_string(&str_constants, ZSTR_VAL(constant->name), &constant->value, " "); in _extension_string() 1516 intern->ptr = constant; in reflection_class_constant_factory() 1518 intern->ce = constant->ce; in reflection_class_constant_factory() 1534 intern->ptr = constant; in reflection_enum_case_factory() 1536 intern->ce = constant->ce; in reflection_enum_case_factory() 3832 intern->ptr = constant; in ZEND_METHOD() 3834 intern->ce = constant->ce; in ZEND_METHOD() 4819 …if (UNEXPECTED(Z_TYPE(constant->value) == IS_CONSTANT_AST && zend_update_class_constant(constant, … in ZEND_METHOD() 6134 zend_constant *constant; in ZEND_METHOD() local [all …]
|
H A D | php_reflection.stub.php | 523 public function __construct(object|string $class, string $constant) {} argument 801 public function __construct(object|string $class, string $constant) {} argument 811 public function __construct(object|string $class, string $constant) {} argument
|
/php-src/Zend/tests/traits/ |
H A D | constant_001.phpt | 2 Trying to access a constant on Trait via a Class
|
/php-src/Zend/tests/grammar/ |
H A D | semi_reserved_006.phpt | 2 Test semi-reserved method and constant names and trait conflict resolution
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | result_memory_size.phpt | 10 if (!defined('PDO::PGSQL_ATTR_RESULT_MEMORY_SIZE')) die('skip constant PDO::PGSQL_ATTR_RESULT_MEMOR…
|