Sucksβ

Nota Bene.

This page is a draft, because it covers very few aspects of PHP.

Currently missing parts: correct page structure, perfomance section, types section, missing features section, toolchain (php-fpm, composer, etc.), references to related benchmarks, libraries, RFCs, etc., community section. Feel free to add information yourself with Edit on GitHub link.
We don't serve ads
and don't ask you to buy shit, because that sucks. If you want, be our patron ( patreon, paypal, liberapay ), that's it.
 $x = Array();
 $y = array();
 $x == $y; # is true
 $x = 1;
 $X = 1;
 $x == $X; # is true
 $arr[2] = 2;
 $arr[1] = 1;
 $arr[0] = 0;
 foreach ($arr as $elem) { echo "$elem "; } // prints "2 1 0" !!
  error_log("Frobulating $net->ipv4->ip");
  Frobulating  Object id #5->ip

  $foo = $net->ipv4;
  error_log("Frobulating $foo->ip");
  Frobulating 192.168.1.1

However, this will work as expected:

  error_log("Frobulating {$net->ipv4->ip}");
PHP sucks, here is why. We hope, that article will help you to choose the perfect programming language for you. PHP sucks, here is why. 2020 Your Language Sucks PHP PHP
We don't serve ads
and don't ask you to buy shit, because that sucks. If you want, be our patron ( patreon, paypal, liberapay ), that's it.