3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = ['commits' => ['message' => 'test']]; echo reset($body['commits']);

preferences:
55.54 ms | 402 KiB | 5 Q