How does Casting work in PHP? -


This does not work:

  (int) 08 == (int) 09 == 0  

But does it more?

  (int) 07 == 7 (int) 06 = 6 6  <08 is in octal base (because it starts with 0), so it is invalid. . 


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -