3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <title> PHP PRACTICE</title> <header>PHP PRACTICE</title> <?php $time= time('H'); echo "$time"; ?>
Output for 4.3.0 - 5.6.25, 7.0.0 - 7.1.0
<!DOCTYPE html> <title> PHP PRACTICE</title> <header>PHP PRACTICE</title> 1394797116
Output for hhvm-3.10.0 - 3.12.0
<!DOCTYPE html> <title> PHP PRACTICE</title> <header>PHP PRACTICE</title> Warning: time() expects exactly 0 parameters, 1 given in /in/nT9Ov on line 5