Open main menu

Changes

157 bytes added ,  22 February
add mod_php vs php-fpm
== Who wrote PHP?==
https://www.php.net/credits.php
== How do you upgrade? ==
See the [https://www.php.net/manual/en/ migrating appendices in the manual]
== Resource Sites Mod PHP vs PHP-FPM ==# Aidan Lister from Autstralia has a nice site online (source provided to make your own similar site) which lists many classes and PHP functions for doing routine things that you will inevitabably face in programming. Things like making a directory structure recursively, or checking See the size of a directory and it's contents. http[https://aidanlisterwww.zend.com/blog/apache-phpfpm-modphp# Jeroen (John) Post created http://onlinephpfunctionshow-to-choose-between-mod-php-and-php-fpm article by Matthew Weier-O'Phinney on Zend.com/ which lets you play with PHP code in the browser, and specifically test that code with multiple versions of PHP.]
==Resource Sites==
== Language Features ==#Aidan Lister from Autstralia has a nice site online (source provided to make your own similar site) which lists many classes and PHP functions for doing routine things that you will inevitabably face in programming. Things like making a directory structure recursively, or checking the size of a directory and it's contents. http://aidanlister.com/#Jeroen (John) Post created http://onlinephpfunctions.com/ which lets you play with PHP code in the browser, and specifically test that code with multiple versions of PHP.
=== Magic Methods ===
* [https://github.com/guidovanbiemen/setngeti SetnGeti] - an implementation of Magic Methods for getting and setting based on traits and DocBlock comments.
* [https://cspray.github.io/2012/05/13/stop-calling-them-getters-setters Don't do it the wrong way]
==Language Features== ===Magic Methods=== *[https://github.com/guidovanbiemen/setngeti SetnGeti] - an implementation of Magic Methods for getting and setting based on traits and DocBlock comments.*[https://cspray.github.io/2012/05/13/stop-calling-them-getters-setters Don't do it the wrong way] === JSON ===
With <code>[https://php.net/manual/en/function.json-decode.php json_decode()]</code>, you either get an object, or using the optional second
== ToDo == * implement the codesniffer locally https://github.com/wikimedia/mediawiki-tools-codesniffer
[[Category:PHP]]