3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ 1.5 => 1.5, 1.25 => 1.25, 1.75 => 1.75 ]; var_dump( $a );

preferences:
16.46 ms | 404 KiB | 5 Q