3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = 201511; $year = substr($d,0,4); $month = substr($d,-2); $reverse = $month.$year; echo $reverse;

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
153.43 ms | 2026 KiB | 11 Q