3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( '', 0, 1, false, null, ); var_dump( array_map( 'ltrim', $test ) );

preferences:
28.63 ms | 405 KiB | 5 Q