Home
last modified time | relevance | path

Searched refs:const (Results 76 – 100 of 479) sorted by relevance

12345678910>>...20

/PHP-8.2/ext/date/tests/
H A Dstrtotime2.phpt24 foreach ($constants as $const) {
25 echo "$const:\t";
26 echo ((strtotime(date(constant($const), $time)) === $time) ? "OK" : "FAIL") . "\n";
/PHP-8.2/Zend/tests/type_declarations/
H A Dscalar_constant_defaults.phpt6 const INT_VAL = 10;
7 const FLOAT_VAL = 10.5;
8 const STRING_VAL = "this is a test";
9 const INT_ADD_VAL = 10 + 15;
10 const FLOAT_ADD_VAL = 10.5 + 0.2;
11 const STRING_ADD_VAL = "this" . " is a test";
12 const NULL_VAL = null;
/PHP-8.2/Zend/tests/
H A Dgh7771_2_definition.inc4 public const BAR =
7 public const BAZ = 42;
H A Dunary_minus_const_expr_consistency.phpt6 const ZERO = 0.0;
7 const MINUS_ZERO = -ZERO;
H A Dclass_properties_dynamic.phpt6 const BAR = 1 << 0;
7 const BAZ = 1 << 1;
H A Dbug41633_1.phpt6 const A = self::B;
7 const B = "ok";
H A Dbug41633_4.phpt6 const A = self::B;
7 const B = "ok";
H A Dconstants_004.phpt8 const foo = 1;
9 const foo = 2;
H A Dinter_03.phpt7 const b = 2;
11 const c = self::b;
/PHP-8.2/Zend/tests/constants/final_constants/
H A Dfinal_const4.phpt8 const X = 1;
13 const X = 2;
H A Dfinal_const1.phpt8 final const A = "foo";
9 final public const B = "foo";
H A Dfinal_const7.phpt8 const X = 1;
15 const X = 2;
/PHP-8.2/ext/ffi/
H A Dffi.g76 {const char *name;}
173 {const char *name;}
235 ( {const char *name;}
298 ( {const char *name;}
326 {const char *name;}
459 {const char *name;}
497 {const char *name;}
518 | "const"
533 {const char *name;}
707 {const char *name;}
[all …]
/PHP-8.2/build/
H A Dphp_cxx_compile_stdcxx.m4264 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
271 strlen_c(const CharT *const s) noexcept
300 const int c = 0;
313 static const int zero {};
314 static const int one {1};
474 strlen_c(const CharT *const s) noexcept
687 const int& operator* () const
704 bool operator== (const iter& i, const sentinel& s)
709 bool operator!= (const iter& i, const sentinel& s)
716 iter begin() const
[all …]
/PHP-8.2/ext/opcache/tests/
H A Dgh8133.inc7 const CASES = [Foo::Bar, Foo::Baz];
11 const CASES = [Foo::Bar, Foo::Baz];
H A Dbug78014.inc6 const X = UNRESOLVED;
9 const X = 42;
H A Dpreload_loadable_classes_1.inc6 const BAZ = 42;
17 const FOO = Bar::BAZ;
/PHP-8.2/tests/classes/
H A Dconstants_basic_003.phpt10 const ca = A::MY_CONST;
11 const cc = C::MY_CONST;
16 const MY_CONST = "hello from C";
H A Dconstants_basic_006.phpt7 const X = E::A;
11 eval('class D extends C { const V = \'test\'; }');
15 const A = "hello";
H A Dinterface_constant_inheritance_001.phpt6 const FOO = 10;
10 const FOO = 10;
/PHP-8.2/ext/fileinfo/
H A Dlibmagic.patch73 const char *);
113 const char name[16];
1118 cdf_check_stream(const cdf_stream_t *sst, const cdf_header_t *h)
1620 const void *fbuf;
1667 const char *);
1701 - const char *pat;
1759 -const char *fmtcheck(const char *, const char *)
2078 - const char *p;
2902 const char *magic_getpath(const char *, int);
2903 const char *magic_file(magic_t, const char *);
[all …]
/PHP-8.2/ext/opcache/tests/jit/
H A Dgh8461-003.inc7 public const A = 1;
8 public const B = 1;
H A Dgh8461-004.inc7 public const A = 1;
8 public const B = 1;
/PHP-8.2/Zend/tests/list/
H A Dlist_reference_011.phpt2 "Reference Unpacking - Compile Error (const)" list()
5 const FOO = 10;
/PHP-8.2/Zend/tests/use_function/
H A Dignore_constants.phpt7 const bar = 42;
11 const bar = 43;

Completed in 126 milliseconds

12345678910>>...20