PHP Classes

File: php/php_funny_code.php

Recommend this page to a friend!
  Classes of Kabir Hossain   PHP CodeIgniter Tips Tricks   php/php_funny_code.php   Download  
File: php/php_funny_code.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: PHP CodeIgniter Tips Tricks
Collection of tips and examples to use CodeIgniter
Author: By
Last change:
Date: 21 days ago
Size: 365 bytes
 

Contents

Class file image Download
/* ----------------------------- */
echo 'a'.
$c = 'x';
echo 'b';
echo 'c';
/* ----------------------------- */

echo 'This is the number: ' . 5 +7; exit;

if (2 > 3); {
    echo '2 is greater than 3';
}

// php wrong input date format
echo strtotime('16/01/2013'); // ouput nothing

$x = 7;
echo ++$x; // add one and return x
echo $x++; // return x and add one to x