php if 3d 3d or 3d 3d 3d

Solutions on MaxInterview for php if 3d 3d or 3d 3d 3d by the best coders in the world

showing results for - "php if 3d 3d or 3d 3d 3d"
Allen
05 May 2017
1//https://github.com/sentientmachine/php_equality_charts
2
3<?php
4    var_dump( 1 === 1 );     // true
5    var_dump( 1 === '1' );   // false
6    var_dump( 1 === 2 );     // false
7    var_dump( 1 === '2' );   // false
8    var_dump( 1 === true );  // false
9    var_dump( 1 === false ); // false
10?>
11  
12  
13  <?php
14    var_dump( 1 == 1 );     // true
15    var_dump( 1 == '1' );   // true
16    var_dump( 1 == 2 );     // false
17    var_dump( 1 == '2' );   // false
18    var_dump( 1 == true );  // true
19    var_dump( 1 == false ); // false
20?>