3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = [ 'create' => [ ['table' => 'news'], 'id', ['title', 'varchar'], ['published_at', 'date', 'index' => true], ['text', 'text'] ] ]; echo json_encode($x, JSON_PRETTY_PRINT);

preferences:
50.58 ms | 402 KiB | 5 Q