Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 670

Warning: Invalid argument supplied for foreach() in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 671

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 675

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 670

Warning: Invalid argument supplied for foreach() in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 671

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 675

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 670

Warning: Invalid argument supplied for foreach() in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 671

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 675

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 670

Warning: Invalid argument supplied for foreach() in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 671

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/v166574/fusca/wiki/includes/MagicWord.php on line 675
PHP Programmierung – Mein Wiki

PHP Programmierung

Aus Mein Wiki

Wechseln zu: Navigation, Suche
(PHP Frameworks)
Zeile 207: Zeile 207:
= Runtime Configuration =
= Runtime Configuration =
* http://php.net/manual/en/errorfunc.configuration.php
* http://php.net/manual/en/errorfunc.configuration.php
 +
 +
== Kopien und Referenzen ==
 +
=== Syntax ===
 +
$a =& $b; // assigns $a as a reference to $b.
 +
NO REFERENCE: $a &= $b; // bitwise-and operator.
 +
public functionfoo(&$param){...}
 +
 +
===  Sinn / Vorteile ===
 +
Per Referenzen ist es möglich zb Service-Klassen nur einmal zu instanzieren und somit Konfiguration, Ladezeiten, Werte-Übergaben und Memory zu sparen.

Version vom 16:28, 14. Mai 2013

Persönliche Werkzeuge