Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /data/e/7/e76990b9-3372-4d88-8089-fce36e16744a/webperfection.net/sub/rady-nosu/wp-content/plugins/seo-ultimate/modules/class.su-module.php on line 1195
Archives for December 2015 | Real Solution for Your Problem!

Archive for December, 2015

how to run phan on debian First, go here, here and here to get an idea about how to get phan working. For Debian8 though, I had to do a few more tricks to get it running. If you still haven't try php7 (shame on you!) check this guide: how to...

  • Comments Off on running phan static analyzer to check php5 to php7 issues

December 9, 2015 | In: Programovanie

php7 Anonymous Classes

Anonymous Classes It is exactly what it says, but when can it be useful? Ever found your self refactoring a pile of shit like the following code? public function getEmail() { // Now that we have the email we will save it as an object ...

  • Comments Off on php7 Anonymous Classes

Variance and Signature Validation - basically in simple layman's term - class return type then interesting thing I find about the example from class A {} interface SomeInterface { public function test() : A; } class B implements...

  • Comments Off on php7 invariants and signature validation or class return type

A bit weird and unintuitive coalesce behaviour, so watch out when using it! $coalesce = true === false ?? 'no'; var_dump($coalesce); // false - huh? so it seems that it works only for null :/ $coalesce = null == false ?? 'no';...

  • Comments Off on php7 NULL coalesce operator ??

short summary on how to update to the latest php7, phpmyadmin4.5 and mysql5.7 on redhat install latest php7: rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm yum remove php56w php56w-common php56w-cli yum install php70w php70w-common...

  • Comments Off on redhat 6/debian 8 – installing php7 + phpmyadmin 4.5 and mysql5.7