PHP: Difference between revisions
add mod_php vs php-fpm |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
See the [https://www.php.net/manual/en/ migrating appendices in the manual] | See the [https://www.php.net/manual/en/ migrating appendices in the manual] | ||
== | == mod_php vs php-fpm == | ||
See the [https://www.zend.com/blog/apache-phpfpm-modphp#how-to-choose-between-mod-php-and-php-fpm article by Matthew Weier-O'Phinney on Zend.com] | See the [https://www.zend.com/blog/apache-phpfpm-modphp#how-to-choose-between-mod-php-and-php-fpm article by Matthew Weier-O'Phinney on Zend.com] | ||
| Line 26: | Line 26: | ||
parameter, you can force the return value to an array. In the former case, you access the content using object notation. In the latter case, you use array notation. | parameter, you can force the return value to an array. In the former case, you access the content using object notation. In the latter case, you use array notation. | ||
ie. | ie. | ||
< | <syntaxhighlight lang="php"> | ||
$data = json_decode($data); | $data = json_decode($data); | ||
$version = $data->query->general->generator; | $version = $data->query->general->generator; | ||
| Line 33: | Line 33: | ||
$version = $data['query']['general']['generator']; | $version = $data['query']['general']['generator']; | ||
</ | </syntaxhighlight> | ||
== | ==What's New== | ||
The release notes at PHP Watch might give better explanations and more context than the official release notes, but the official ones are obviously canonical and may provide a quicker view of the timeline or metadata. | |||
=== Release Notes === | |||
https://www.php.net/releases/ | |||
{| class="wikitable" | |||
|+ | |||
!v | |||
!PHP.net | |||
!PHP Watch | |||
|- | |||
|8.4 | |||
|[https://www.php.net/releases/8.4/en.php php.net/releases/8.4/] | |||
|[https://php.watch/versions/8.4 php.watch/versions/8.4] | |||
|- | |||
|8.3 | |||
|[https://www.php.net/releases/8.3/en.php php.net/releases/8.3/] | |||
|[https://php.watch/versions/8.3 php.watch/versions/8.3] | |||
|- | |||
|8.2 | |||
|[https://www.php.net/releases/8.2/en.php php.net/releases/8.2/] | |||
|[https://php.watch/versions/8.2 php.watch/versions/8.2] | |||
|- | |||
|8.1 | |||
|[https://www.php.net/releases/8.1/en.php php.net/releases/8.1/] | |||
|[https://php.watch/versions/8.1 php.watch/versions/8.1] | |||
|} | |||
[[Category:PHP]] | [[Category:PHP]] | ||