3v4l.org

run code in 500+ PHP versions simultaneously
<?php class X { public int $p; } $x = new X; $x->p = PHP_INT_MIN; --$x->p; ?>

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.70.0120.00418.98
8.5.60.0030.00517.01
8.5.50.0050.00316.96
8.5.30.0100.00717.86
8.5.20.0050.01120.38
8.5.10.0100.00816.65
8.5.00.0110.01322.84
8.4.220.0100.01219.68
8.4.210.0070.00519.78
8.4.180.0130.01019.88
8.4.170.0100.01124.14
8.4.160.0140.00922.24
8.4.150.0090.00416.88
8.4.140.0140.00817.68
8.4.130.0120.00717.79
8.4.120.0320.01018.63
8.4.110.0360.01017.96
8.4.100.0370.00717.87
8.4.90.0310.00917.83
8.4.80.0440.00717.89
8.4.70.0400.00918.07
8.4.60.0340.00618.01
8.4.50.0380.00817.90
8.4.40.0450.00917.43
8.4.30.0420.01017.56
8.4.20.0350.00617.79
8.4.10.0370.00517.77
8.3.310.0110.00918.47
8.3.300.0150.00620.84
8.3.290.0090.01220.75
8.3.280.0120.00718.45
8.3.270.0130.00616.52
8.3.260.0120.00616.65
8.3.250.0350.00916.59
8.3.240.0280.00416.38
8.3.230.0300.00716.61
8.3.220.0420.00616.43
8.3.210.0360.00616.75
8.3.200.0260.00616.62
8.3.190.0310.00716.54
8.3.180.0330.00716.64
8.3.170.0360.00616.46
8.3.160.0480.00716.41
8.3.150.0400.01016.49
8.3.140.0470.00816.40
8.3.130.0320.01016.63
8.3.120.0320.00616.62
8.3.110.0330.00716.49
8.3.100.0420.00916.52
8.3.90.0420.00716.57
8.3.80.0410.01116.53
8.3.70.0430.00716.61
8.3.60.0380.00716.49
8.3.50.0390.01016.49
8.3.40.0400.00917.71
8.3.30.0260.00617.58
8.3.20.0220.00517.59
8.3.10.0320.00917.52
8.3.00.0290.00717.43
8.2.310.0030.00518.11
8.2.300.0070.01320.32
8.2.290.0320.01016.70
8.2.280.0350.00616.83
8.2.270.0340.00716.80
8.2.260.0330.00916.54
8.2.250.0330.00916.69
8.2.240.0330.00616.64
8.2.230.0350.00716.53
8.2.220.0320.00716.54
8.2.210.0330.00716.57
8.2.200.0340.00816.61
8.2.190.0340.00716.60
8.2.180.0330.00716.63
8.2.170.0320.00817.65
8.2.160.0380.00717.66
8.2.150.0350.00917.69
8.2.140.0390.00517.43
8.2.130.0360.00917.42
8.2.120.0360.00817.47
8.2.110.0360.01017.49
8.2.100.0350.01117.47
8.2.90.0320.00717.58
8.2.80.0250.00717.58
8.2.70.0320.00617.48
8.2.60.0240.00417.45
8.2.50.0270.00617.42
8.2.40.0250.00517.58
8.2.30.0330.00817.32
8.2.20.0290.00817.32
8.2.10.0280.00517.49
8.2.00.0220.00717.43
8.1.340.0120.00821.95

preferences:
47.46 ms | 878 KiB | 5 Q