Logo
Since 1998
Home > Science & Technology > Information Technology > PHP > Tips & tricks

in Tips & tricks

2 topics:

In PHP, the switch statement manages a string and case 0 quite unorthodoxically (694 views)

I bumped into a wicked behaviour of the switch statement in PHP; it considers that any string equals 0 if the integer case 0 is encountered first.
created 05 November 2013
revised 26 February 2017

Plural management in PHP: my plural functions (6903 views)

If like me you are a bit pedantic as regards orthography, even in texts, blogs, but especially in search results, for sure you have noticed, not to say shocked by, bits like“1 results found”, or even "the selected files image1.jpg have been deleted".  Of course there is...read more >>

created 11 March 2014
revised 11 February 2017
Would you accept our confidentiality policy? It is about cookies and personal data...