I’ve just published a new version of PHP SocialShare, a library allowing to retrieve server-side webpages’ number of shares and share link from social networks. This release fixes a bug that was breaking the Google support when the number of shares if greater than 1K and use the brand new phpspec 2.0 stable release as spec…
Tag: PHP
Nouvelle réalisation : la boutique Lost In The Supermarket
Fraichement mise en ligne, voici la boutique de vêtements de mode anglaise Lost In The Supermarket. Elle a été réalisée à l’aide de Prestashop, de Bootstrap et de LESS. Le design est adaptif (responsive) bien que quelques défauts de jeunesse subsistent sur smartphone. Les pages contiennent du balisage sémantique Schema.org afin d’afficher des extraits enrichis dans les résultats…
Casting PHP types to string
Casting PHP types is not easier as it seems. Type juggling in PHP is not obvious. In Java variables can always be represented as strings, without throwing errors. This is not the case with PHP and I’ve not found the detailed behavior of string casting in the official documentation. Here it is. Scalar types (boolean, integer, float, and…