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? [crayon-5c6e468b982dd530876009/] and then wherever you look you see casting it back to...

  • 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 [crayon-5c6e468b987f7770621090/] more about php7: if you need to install PHP7 check out this...

  • 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! [crayon-5c6e468b98cab893786237/] so it seems that it works only for null :/ [crayon-5c6e468b98cb6894022887/] so the only valid and straight forward example comes from...

  • 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: [crayon-5c6e468b99186992539821/] install latest mysql5.7: [crayon-5c6e468b9918f476915914/] install latest...

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