Home
last modified time | relevance | path

Searched refs:const (Results 101 – 125 of 479) sorted by relevance

12345678910>>...20

/PHP-8.2/ext/phar/
H A Dphar_path_check.re21 phar_path_check_result phar_path_check(char **s, size_t *len, const char **error)
23 const unsigned char *p = (const unsigned char*)*s;
24 const unsigned char *m;
84 *len = (p - (const unsigned char*)*s) -1;
96 if ((p - (const unsigned char*)*s) - 1 != *len)
/PHP-8.2/tests/classes/
H A Dconstants_error_001.phpt7 const myConst = "hello";
8 const myConst = "hello again";
/PHP-8.2/Zend/tests/
H A Dbug76430.phpt7 const X = __METHOD__;
11 const X = __METHOD__;
H A Ddefined_fn_no_ns_fallback.phpt10 $const = 'Foo\PHP_INT_MAX';
11 var_dump(\defined($const));
H A Dbug69017.phpt8 const ZERO = 0;
9 const ONE = 1;
10 const MAX = PHP_INT_MAX;
H A Dclass_constants_007.phpt6 const X = ' ' . self::Y;
7 const Y = ' ';
H A Dconstants_009.phpt8 const x = 2;
11 const x = 1;
H A Dclass_constants_006.phpt6 const X2 = 'X' . self::Y2;
7 const Y2 = 'Y';
H A Dalternative_offset_syntax_compile_error_in_const_expr.phpt2 Alternative offset syntax should emit E_COMPILE_ERROR in const expression
5 const FOO_COMPILE_ERROR = "BAR"{0};
H A Dbug45742.phpt7 const A = 1;
8 const B = 1;
/PHP-8.2/Zend/tests/grammar/
H A Dregression_012.phpt2 Testing for regression on const list syntax and arrays
7 const A = [1, FOREACH];
H A Dregression_005.phpt8 const return = 'yep';
11 const return = 'nope';
/PHP-8.2/ext/imap/tests/setup/
H A Dimap_include.inc3 const IMAP_SERVER_NO_DEBUG = '{127.0.0.1:143/norsh}';
4 const IMAP_SERVER_DEBUG = '{127.0.0.1:143/debug/norsh}';
5 const IMAP_SERVER = IMAP_SERVER_DEBUG;
6 const IMAP_DEFAULT_MAILBOX = IMAP_SERVER . 'INBOX';
7 const IMAP_MAIL_DOMAIN = 'example.com';
8 const IMAP_ADMIN_USER = 'webmaster'; // a user with admin access
9 const IMAP_MAILBOX_USERNAME = IMAP_ADMIN_USER . '@' . IMAP_MAIL_DOMAIN;
10 const IMAP_MAILBOX_PASSWORD = 'p4ssw0rd';
11 const IMAP_MAILBOX_PHPT_PREFIX = 'phpttest';
13 const IMAP_USERS = ["webmaster", "info", "admin", "foo"];
[all …]
/PHP-8.2/ext/standard/tests/class_object/
H A Dforward_static_call_003.phpt8 const NAME = 'A';
16 const NAME = 'B';
26 const NAME = 'C';
/PHP-8.2/ext/ffi/tests/
H A Dbug77768.phpt8 $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
31 int printf(const char *format, ...);
32 int printf(const char *format, ...);
/PHP-8.2/Zend/tests/traits/
H A Dconstant_003.phpt7 public const A = 123;
15 public const A = 456;
H A Dbug74922.phpt2 Bug #74922 (Composed class has fatal error with duplicate, equal const properties)
6 const VALUE = true;
H A Dbug74922a.phpt2 Bug #74922 (Composed class has fatal error with duplicate, equal const properties)
6 const VALUE = true;
H A Dbug74922c.phpt2 Bug #74922 (Composed class has fatal error with duplicate, equal const properties)
14 const X = 42;
/PHP-8.2/ext/opcache/tests/jit/
H A Dbug81249.phpt19 private const JIS0212_INDEX = [108 => 728];
20 private const JIS0208_INDEX = [];
22 private const CONTINUE = -1;
23 private const FINISHED = -2;
24 private const ERROR = -3;
/PHP-8.2/ext/opcache/tests/
H A Dbug69125.phpt11 const SZERO = '0';
12 const SONE = '1';
/PHP-8.2/Zend/tests/enum/
H A Denum-as-constant.phpt10 const Beep = Foo::Bar;
13 const Beep = Foo::Bar;
/PHP-8.2/Zend/tests/constants/final_constants/
H A Dfinal_const2.phpt8 final const A = "foo";
13 const A = "bar";
H A Dfinal_const5.phpt8 final public const X = 1;
13 const X = 2;
/PHP-8.2/ext/spl/tests/
H A Ddualiterator.inc19 const CURRENT_LHS = 0x01;
20 const CURRENT_RHS = 0x02;
21 const CURRENT_ARRAY = 0x03;
22 const CURRENT_0 = 0x00;
24 const KEY_LHS = 0x10;
25 const KEY_RHS = 0x20;
26 const KEY_0 = 0x00;
28 const DEFAULT_FLAGS = 0x13;

Completed in 161 milliseconds

12345678910>>...20