3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = array( '20130520T000000Z', '20120520T000000Z', '20110520T000000Z', '20140520T000000Z', '20130720T000000Z', ); sort( $input ); print_r( $input );
Output for 4.3.0 - 7.3.0rc4
Array ( [0] => 20110520T000000Z [1] => 20120520T000000Z [2] => 20130520T000000Z [3] => 20130720T000000Z [4] => 20140520T000000Z )