3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pos = strpos('PHP 5.6.10', phpversion()); if($pos !== false){ print "<pre>"; $arr = timezone_abbreviations_list(); print_r($arr['wst']); die; } ?>
Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.9, 5.6.11 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.13, 7.3.0 - 7.3.1
Output for 5.6.10
<pre> Notice: Undefined index: wst in /in/qsItc on line 8

preferences:
118.82 ms | 401 KiB | 107 Q