Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
access-interceptor-scope-localizer-denies-protected-property-read.phpt
01 --TEST--
02 Verifies that generated access interceptors disallow protected property direct read
03 --FILE--
04 <?php
05
06 require_once __DIR__ . '/init.php';
07
08 class Kitchen
09 {
10 protected $sweets;
11 }
12
13 $factory = new \ProxyManager\Factory\AccessInterceptorScopeLocalizerFactory($configuration);
14
15 $proxy = $factory->createProxy(new Kitchen());
16
17 $proxy->sweets;
18 ?>
19 --EXPECTF--
20 %SFatal error: Cannot access protected property %s::$sweets in %s on line %d
21