Lines Matching refs:protected
2 Unsetting and recreating protected properties.
6 protected $p = 'test';
22 echo "Unset and recreate a protected property from property's declaring class scope:\n";
27 echo "\nUnset and recreate a protected property from subclass:\n";
33 echo "\nUnset a protected property, and attempt to recreate it outside of scope (expected failure):…
39 Unset and recreate a protected property from property's declaring class scope:
41 ["p":protected]=>
45 Unset and recreate a protected property from subclass:
47 ["p":protected]=>
51 Unset a protected property, and attempt to recreate it outside of scope (expected failure):
53 Fatal error: Uncaught Error: Cannot access protected property %s::$p in %s:32