Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 25 of 33) sorted by relevance

12

/php-src/Zend/tests/
H A Dproperty_exists.phpt9 var_dump(property_exists($a, "prot"));
13 var_dump(property_exists("A", "prot"));
20 var_dump(property_exists($a, "prot"));
24 var_dump(property_exists("A", "prot"));
31 static public $prot = "prot";
32 static protected $prot2 = "prot";
33 static private $prot3 = "prot";
H A Dbug43483.phpt7 D::prot();
12 protected static function prot() {
13 echo "Successfully called D::prot().\n";
19 Successfully called D::prot().
22 [0] => prot
H A Dbug21888.phpt7 protected $prot = "protected property\n";
9 protected function prot() {
17 $this->prot();
21 print $this->prot;
H A Dbug45862.phpt9 var_dump(Tester::$prot);
14 static protected $prot = "protected var";
33 ["prot"]=>
40 ["prot"]=>
H A Daccess_modifiers_012.phpt6 protected function prot() { }
15 call_user_func(array($c, 'prot'));
20 In __call() for method prot()
H A Dcall_user_func_001.phpt12 protected function prot($str) {
31 call_user_func(array(new $class, 'prot'), 'foobar');
41 …rgument #1 ($callback) must be a valid callback, cannot access protected method testing\foo::prot()
H A Dget_mangled_object_vars.phpt9 protected $prot = 2;
39 '' . "\0" . '*' . "\0" . 'prot' => 2,
/php-src/ext/standard/tests/class_object/
H A Dget_object_vars_basic_002.phpt17 protected $prot = 'B::prot';
42 ["prot"]=>
43 string(7) "B::prot"
53 ["prot"]=>
54 string(7) "B::prot"
H A Dget_object_vars_basic_001.phpt17 protected $prot = 'B::prot';
69 ["prot"]=>
70 string(7) "B::prot"
78 ["prot"]=>
79 string(7) "B::prot"
89 ["prot"]=>
90 string(7) "B::prot"
H A Dget_class_vars_variation2.phpt17 protected $prot = "protected var";
86 ["prot"]=>
102 ["prot"]=>
118 ["prot"]=>
130 ["prot"]=>
142 ["prot"]=>
154 ["prot"]=>
H A Dmethod_exists_basic_001.phpt16 protected function prot() {}
27 'pub', 'prot', 'priv',
55 Does C::prot exist? bool(true)
70 Does C::prot exist? bool(true)
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitExecAllocatorPosix.c33 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; in alloc_chunk() local
38 prot |= PROT_MAX(prot); in alloc_chunk()
50 retval = mmap(NULL, size, prot, flags, fd, 0); in alloc_chunk()
H A DsljitExecAllocatorFreeBSD.c49 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; in alloc_chunk() local
54 prot |= PROT_MAX(prot); in alloc_chunk()
67 retval = mmap(NULL, size, prot, flags, fd, 0); in alloc_chunk()
H A DsljitWXExecAllocatorPosix.c84 int prot = PROT_READ | PROT_WRITE; in sljit_malloc_exec() local
91 prot |= PROT_MAX(PROT_READ | PROT_WRITE | PROT_EXEC); in sljit_malloc_exec()
95 ptr = (sljit_uw*)mmap(NULL, size, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in sljit_malloc_exec()
128 int prot = PROT_READ | (enable_exec ? PROT_EXEC : PROT_WRITE); in sljit_update_wx_flags() local
135 mprotect((void*)start, end - start, prot); in sljit_update_wx_flags()
H A DsljitWXExecAllocatorWindows.c89 DWORD prot = enable_exec ? PAGE_EXECUTE : PAGE_READWRITE; in sljit_update_wx_flags() local
96 VirtualProtect((void*)start, end - start, prot, &oldprot); in sljit_update_wx_flags()
/php-src/ext/reflection/tests/
H A DReflectionMethod_basic2.phpt29 protected function prot() {}
43 reflectMethod("TestClass", "prot");
44 reflectMethod("DerivedClass", "prot");
82 Reflecting on method TestClass::prot()
85 string(%d) "Method [ <user> protected method prot ] {
92 Reflecting on method DerivedClass::prot()
95 string(%d) "Method [ <user, inherits TestClass> protected method prot ] {
H A DReflectionMethod_basic3.phpt33 protected function prot() {}
47 reflectMethod("TestClass", "prot");
48 reflectMethod("DerivedClass", "prot");
99 Reflecting on method TestClass::prot()
103 string(4) "prot"
113 Reflecting on method DerivedClass::prot()
117 string(4) "prot"
H A DReflectionProperty_isDefault_basic.phpt18 protected $prot = 4;
24 reflectProperty("TestClass", "prot");
44 Reflecting on property TestClass::prot
H A DReflectionMethod_basic4.phpt37 protected function prot() {}
51 reflectMethod("TestClass", "prot");
52 reflectMethod("DerivedClass", "prot");
102 Reflecting on method TestClass::prot()
116 Reflecting on method DerivedClass::prot()
H A DReflectionProperty_getModifiers.001.phpt28 protected $prot = 4;
34 reflectProperty("TestClass", "prot");
54 Reflecting on property TestClass::prot
H A DReflectionProperty_basic1.phpt36 protected $prot = 4;
42 reflectProperty("TestClass", "prot");
92 Reflecting on property TestClass::prot
95 string(33) "Property [ protected $prot = 4 ]
98 string(4) "prot"
H A DReflectionProperty_basic2.phpt29 protected $prot = 4;
35 reflectProperty("TestClass", "prot");
73 Reflecting on property TestClass::prot
H A DReflectionProperty_setValue_error.phpt10 protected $prot = 4;
24 $propInfo = new ReflectionProperty('TestClass', 'prot');
/php-src/ext/standard/tests/serialize/
H A Dsleep_undefined_declared_properties.phpt8 protected $prot;
12 unset($this->pub, $this->prot, $this->priv);
16 return ['pub', 'prot', 'priv'];
26 Warning: serialize(): "prot" returned as member variable from __sleep() but does not exist in %s on…
/php-src/Zend/tests/traits/
H A Dgh12854.phpt9 protected function prot() {}
22 prot as final;
31 foreach (['pub', 'prot', 'priv', 'final1', 'final2', 'final3'] as $method) {
50 --- Method: prot ---

Completed in 27 milliseconds

12