3v4l.org

run code in 300+ PHP versions simultaneously
<?php $consts = get_defined_constants(); $consts = array_keys($consts); usort($consts,function($a,$b){return (int)(strlen($a)<strlen($b));}); foreach($consts as $const){ echo strlen($const).": ".$const."\n"; }

Abusive script

This script was stopped while abusing our resources


preferences:
22.63 ms | 406 KiB | 5 Q