3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $offset = -5; $previousoffset = -4; $currentmonth = date('n'); $previouslength = strlen($previousoffset); $length = strlen($offset); echo "$offset $previousoffset $length $previouslength " ; echo "$currentmonth";
based on lvDD2
Output for 5.6.0 - 7.3.0alpha1
-5 -4 2 2 11