mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
5f2097b16a
commit
34bc8e19f9
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue