3v4l.org

run code in 500+ PHP versions simultaneously
<?php header_register_callback( fn() => mb_detect_encoding('foo') );

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)
8.5.90.0100.00816.87
8.5.80.0110.00316.82
8.5.70.0090.00816.93
8.5.60.0130.00416.81
8.5.50.0070.00816.66
8.5.30.0090.00919.16
8.5.20.0080.00617.80
8.5.10.0210.00716.69
8.5.00.0230.00616.51
8.4.240.0070.00419.77
8.4.230.0050.00819.61
8.4.220.0120.01019.61
8.4.210.0100.01119.55
8.4.180.0120.01019.82
8.4.170.0150.00620.66
8.4.160.0320.00919.85
8.4.150.0340.00919.62
8.4.140.0360.01017.64
8.4.130.0330.00818.08
8.4.120.0370.00917.63
8.4.110.0330.01217.68
8.4.100.0400.01117.71
8.4.90.0370.01118.31
8.4.80.0370.00817.80
8.4.70.0350.00917.78
8.4.60.0420.00917.65
8.4.50.0370.01217.80
8.4.40.0410.01217.56
8.4.30.0410.01217.60
8.4.20.0390.00817.73
8.4.10.0360.00917.66
8.3.330.0120.00618.56
8.3.320.0050.00518.54
8.3.310.0060.00418.43
8.3.300.0150.00520.72
8.3.290.0320.00918.42
8.3.280.0260.00918.33
8.3.270.0310.00716.67
8.3.260.0290.00616.68
8.3.250.0270.01016.50
8.3.240.0270.00916.73
8.3.230.0310.01016.77
8.3.220.0370.01016.65
8.3.210.0370.00917.16
8.3.200.0370.01016.58
8.3.190.0380.01116.56
8.3.180.0420.00916.66
8.3.170.0400.01016.52
8.3.160.0390.00816.67
8.3.150.0420.00916.54
8.3.140.0390.01016.55
8.3.130.0340.00917.22
8.3.120.0350.00916.58
8.3.110.0370.00916.61
8.3.100.0410.00916.71
8.3.90.0420.01016.56
8.3.80.0410.00816.60
8.3.70.0390.00816.78
8.3.60.0390.00716.57
8.3.50.0390.01016.61
8.3.40.0340.01018.29
8.3.30.0260.00817.72
8.3.20.0260.00717.81
8.3.10.0270.00917.83
8.3.00.0160.00918.50
8.2.320.0120.00718.11
8.2.310.0120.00918.23
8.1.340.0110.00921.55

preferences:
50.05 ms | 777 KiB | 5 Q