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-5cb8e93f53fb6115773431/] 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-5cb8e93f542d3508077809/] 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-5cb8e93f5455d841060506/] so it seems that it works only for null :/ [crayon-5cb8e93f54562135168846/] 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-5cb8e93f54910814435969/] install latest mysql5.7: [crayon-5cb8e93f54916545764338/] install latest...

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