3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $T_TRAIT = version_compare(PHP_VERSION, '5.4', '<') ? -1 : T_TRAIT; echo $T_TRAIT;
Output for 7.0.0 - 7.1.0
362
Output for 5.6.0 - 5.6.28
359
Output for 5.5.0 - 5.5.38
357
Output for 5.4.0 - 5.4.45
355
Output for 4.3.0 - 5.3.29
-1