Folks already starting to build “Sign In With Apple” examples, this one in #PHP (via @aaronpk) https://github.com/aaronpk/sign-in-with-apple-example #WWDC19
WeChat ID
aaronpk_tv
Grabs the dominant color or a representative color palette from an image. Uses PHP and GD or Imagick.
"The success of projects using it has more to do with properties of the PHP environment, and the high-cadence workflow it enables, than with PHP the language."
/* * Make all protected methods public for PHPUnit */ class ExampleClassTest extends ExampleClassTest { public function __call($method, $args) { $method = new \ReflectionMethod('ExampleClass', $method); $method->setAccessible(true); return $method->invokeArgs($this, $args); } public static function __callStatic($method, $args) { $method = new \ReflectionMethod('ExampleClass', $method); $method->setAccessible(true); return $method->invokeArgs(null, $args); } }
PHP is quite possibly one of the best languages to use for a project these days. The community is massive and full of people who are deeply passionate about best practices. There are more quality frameworks than you can hope to keep up with (if your ranking of quality is the meager toy that rails is, you'll be happy here). The frameworks are really good at abstracting away the awful API choices the language makes. That said, if you're writing in "PHP" instead of a given set of frameworks... you're working at a company that hired someone who wrote a lot of code with no experience of what makes a good system... but you'll soon find the JS looks exactly like that too, because that's not a PHP problem.
apt-get installs a cron script at /etc/cron.d/php5 that checks the session.gc_maxlifetime variable and then deletes all old sessions every 9 and 39 minutes.