3v4l.org

run code in 300+ PHP versions simultaneously
<?php $items = ['foo', 0]; sort($items); var_dump($items);