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-allows-inexisting-property-write.phpt
01 --TEST--
02 Verifies that generated lazy loading ghost objects disallow reading non-existing properties via direct read
03 --FILE--
04 <?php
05
06 require_once __DIR__ . '/init.php';
07
08 class Kitchen
09 {
10 private $sweets;
11 }
12
13 $factory = new \ProxyManager\Factory\LazyLoadingGhostFactory($configuration);
14
15 $proxy = $factory->createProxy('Kitchen', function () {});
16
17 $proxy->nonExisting = 'I do not exist';
18 echo $proxy->nonExisting;
19 ?>
20 --EXPECTF--
21 I do not exist