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 |
lazy-loading-ghost-denies-protected-property-unset.phpt
01 --TEST--
02 Verifies that generated lazy loading ghost objects disallow protected property direct unset
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\LazyLoadingGhostFactory($configuration);
14
15 $proxy = $factory->createProxy('Kitchen', function () {});
16
17 unset($proxy->sweets);
18 ?>
19 --EXPECTF--
20 %SFatal error: Cannot %s property%sin %s on line %d