3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace_callback('~[A-Z]~', function($_) { return $_ + 32; }, 'Important: you are NOT allowed to use a built-in function that converts the string (or just one character) to lowercase (such as ToLower() in .NET, strtolower() in PHP , ...)! You\'re allowed to use all other built-in functions, however.')

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.200.0100.04212.39
5.4.190.0090.04112.38
5.4.180.0130.03812.38
5.4.170.0080.04112.39
5.4.160.0180.04712.39
5.4.150.0130.03812.39
5.4.140.0110.03912.08
5.4.130.0100.04212.06
5.4.120.0140.03712.03
5.4.110.0110.03812.02
5.4.100.0120.03812.02
5.4.90.0070.04512.02
5.4.80.0140.05212.02
5.4.70.0120.03812.02
5.4.60.0120.04212.02
5.4.50.0100.04312.01
5.4.40.0130.03612.00
5.4.30.0150.05212.00
5.4.20.0110.03811.99
5.4.10.0100.03812.00
5.4.00.0120.03811.49
5.3.270.0220.06412.72
5.3.260.0140.04212.72
5.3.250.0190.03412.72
5.3.240.0220.06312.72
5.3.230.0130.04312.71
5.3.220.0140.03912.68
5.3.210.0090.04512.68
5.3.200.0180.04212.68
5.3.190.0140.03912.67
5.3.180.0220.06312.67
5.3.170.0180.06512.67
5.3.160.0200.06612.67
5.3.150.0150.04112.67
5.3.140.0240.06412.66
5.3.130.0190.06812.66
5.3.120.0140.04912.65
5.3.110.0210.06812.66
5.3.100.0140.03912.12
5.3.90.0260.06412.09
5.3.80.0230.07612.09
5.3.70.0350.07112.08
5.3.60.0230.06212.07
5.3.50.0140.04112.01
5.3.40.0130.04112.01
5.3.30.0160.06611.97
5.3.20.0250.05911.75
5.3.10.0190.06211.72
5.3.00.0110.04211.71

preferences:
136.8 ms | 1394 KiB | 7 Q