Other numerical string comparison example (bug #41384)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241410 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2007-08-17 09:02:49 +00:00
parent 5f2097b16a
commit 34bc8e19f9

View file

@ -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 @@ echo "hallo" ^ "hello"; // Outputs the ascii values #0 #4 #0 #0 #0
<?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: