3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php setlocale(LC_ALL, 'nl_NL'); echo strftime('%l:%M %p'); setlocale(LC_ALL, 'en_EN'); echo strftime('%l:%M %P');
based on riKND
Output for 4.3.0 - 7.1.0
3:26 PM 3:26 pm