vrana           Fri Aug 17 09:02:50 2007 UTC

  Modified files:              
    /phpdoc/en/language operators.xml 
  Log:
  Other numerical string comparison example (bug #41384)
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/operators.xml?r1=1.116&r2=1.117&diff_format=u
Index: phpdoc/en/language/operators.xml
diff -u phpdoc/en/language/operators.xml:1.116 
phpdoc/en/language/operators.xml:1.117
--- phpdoc/en/language/operators.xml:1.116      Thu Aug 16 13:30:51 2007
+++ phpdoc/en/language/operators.xml    Fri Aug 17 09:02:49 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.116 $ -->
+<!-- $Revision: 1.117 $ -->
  <chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook";>
   <title>Operators</title>
   <simpara>
@@ -545,6 +545,7 @@
 <?php
 var_dump(0 == "a"); // 0 == 0 -> true
 var_dump("1" == "01"); // 1 == 1 -> true
+var_dump("1" == "1e0"); // 1 == 1 -> true
 
 switch ("a") {
 case 0:

Reply via email to