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-magic-property-read.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 public function & __get($name)
13 {
14 return $name;
15 }
16 }
17
18 $factory = new \ProxyManager\Factory\LazyLoadingGhostFactory($configuration);
19
20 $proxy = $factory->createProxy('Kitchen', function () {});
21
22 echo $proxy->nonExisting;
23 ?>
24 --EXPECTF--
25 nonExisting