Since 1998
Fresh Stuff
Resources
About...
About This Website
About The Author
Contact Me
Admin
in French
in English
Home
>
Science & Technology
>
Information Technology
>
PHP
> Tips & tricks
2 items:
In PHP, the switch statement manages a string and case 0 quite unorthodoxically
(1098 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 Tuesday 05 November 2013
revised Sunday 26 February 2017
[FR: Comment les Zoulous vous aident à déboguer vos applications web]
(3996 views)
created Thursday 17 October 2013
revised Friday 10 February 2017
Would you accept our confidentiality policy? It is about cookies and personal data...
I accept
I refuse
Read the Policy