3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(gc_disable()); class Foo { public function __destruct() { echo "registered route now\n"; } } $a = new Foo(); // queue the route echo "queuing now\n"; // run the app echo "run the app\n";

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.3.60.0100.01016.50
8.3.50.0140.00522.05
8.3.40.0090.00618.71
8.3.30.0090.00618.53
8.3.20.0000.00720.30
8.3.10.0080.00022.05
8.3.00.0000.00723.61
8.2.180.0120.00918.16
8.2.170.0170.00322.96
8.2.160.0100.00320.35
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0120.00320.44
8.2.120.0080.00026.35
8.2.110.0070.00320.56
8.2.100.0090.00317.91
8.2.90.0060.00319.24
8.2.80.0030.00617.97
8.2.70.0000.00817.50
8.2.60.0040.00418.03
8.2.50.0080.00418.10
8.2.40.0000.00820.47
8.2.30.0040.00419.10
8.2.20.0040.00417.86
8.2.10.0000.00718.05
8.2.00.0050.00318.13
8.1.280.0140.00425.92
8.1.270.0040.00422.20
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.92
8.1.230.0060.00617.52
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0040.00417.35
8.1.190.0000.00816.99
8.1.180.0040.00418.10
8.1.170.0060.00318.55
8.1.160.0080.00018.73
8.1.150.0000.00820.31
8.1.140.0020.00519.51
8.1.130.0080.00020.79
8.1.120.0070.00017.43
8.1.110.0080.00017.27
8.1.100.0030.00517.42
8.1.90.0070.00017.28
8.1.80.0000.00717.42
8.1.70.0050.00517.40
8.1.60.0040.00417.46
8.1.50.0080.00017.57
8.1.40.0000.01017.53
8.1.30.0030.00617.62
8.1.20.0050.00317.72
8.1.10.0030.00517.47
8.1.00.0040.00417.36
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0000.00718.44
8.0.270.0070.00017.29
8.0.260.0090.00017.19
8.0.250.0030.00316.90
8.0.240.0060.00316.88
8.0.230.0000.00616.92
8.0.220.0030.00316.84
8.0.210.0080.00016.85
8.0.200.0060.00016.88
8.0.190.0050.00316.91
8.0.180.0000.00716.76
8.0.170.0060.00316.88
8.0.160.0040.00416.74
8.0.150.0050.00316.79
8.0.140.0000.00816.79
8.0.130.0050.00013.21
8.0.120.0000.00716.80
8.0.110.0040.00416.89
8.0.100.0050.00316.62
8.0.90.0050.00216.65
8.0.80.0100.01016.84
8.0.70.0030.00516.75
8.0.60.0040.00416.70
8.0.50.0020.00516.88
8.0.30.0150.00417.06
8.0.20.0100.00917.42
8.0.10.0080.00016.93
8.0.00.0160.00316.61
7.4.330.0030.00315.55
7.4.320.0040.00416.44
7.4.300.0000.00616.39
7.4.290.0030.00316.50
7.4.280.0000.00816.61
7.4.270.0030.00616.59
7.4.260.0040.00416.47
7.4.250.0040.00416.42
7.4.240.0030.00316.48
7.4.230.0040.00416.37
7.4.220.0110.00416.65
7.4.210.0090.00616.37
7.4.200.0040.00416.68
7.4.160.0140.00516.32
7.4.150.0070.01117.40
7.4.140.0060.01317.86
7.4.130.0110.00816.67
7.4.120.0140.00516.62
7.4.110.0090.00916.49
7.4.100.0200.00316.45
7.4.90.0030.01216.37
7.4.80.0110.00619.39
7.4.70.0120.00316.36
7.4.60.0090.00616.30
7.4.50.0030.01316.52
7.4.40.0090.00916.56
7.4.30.0110.00816.54
7.4.00.0090.00714.80
7.3.330.0060.00013.07
7.3.320.0050.00013.26
7.3.310.0060.00016.29
7.3.300.0030.00316.28
7.3.290.0070.01016.24
7.3.280.0070.01016.26
7.3.270.0100.00717.40
7.3.260.0120.00516.35
7.3.250.0130.00416.28
7.3.240.0120.00816.40
7.3.230.0150.00316.39
7.3.210.0100.00716.48
7.3.200.0070.01016.15
7.3.190.0000.02216.35
7.3.180.0160.00016.16
7.3.170.0060.01116.42
7.3.160.0090.00616.32
7.3.120.0060.01314.57
7.3.110.0030.01614.55
7.3.100.0130.00614.70
7.3.90.0060.00914.61
7.3.80.0030.00914.42
7.3.70.0120.00614.38
7.3.60.0000.01314.72
7.3.50.0110.00314.63
7.3.40.0070.00314.59
7.3.30.0060.00914.68
7.3.20.0040.00816.47
7.3.10.0030.01016.61
7.3.00.0070.00716.58
7.2.330.0060.01116.70
7.2.320.0070.01416.64
7.2.310.0080.00816.56
7.2.300.0160.00616.69
7.2.290.0100.00716.44
7.2.250.0060.01214.49
7.2.240.0100.00714.87
7.2.230.0070.00714.88
7.2.220.0000.01215.16
7.2.210.0060.00614.70
7.2.200.0040.00814.93
7.2.190.0070.00714.92
7.2.180.0090.00614.99
7.2.170.0000.01014.97
7.2.160.0060.00314.52
7.2.150.0060.01016.91
7.2.140.0070.01016.81
7.2.130.0040.01117.02
7.2.120.0090.00316.45
7.2.110.0030.00916.52
7.2.100.0030.01016.61
7.2.90.0040.01116.77
7.2.80.0060.00916.59
7.2.70.0030.00716.92
7.2.60.0040.00916.90
7.2.50.0080.00816.78
7.2.40.0030.00916.48
7.2.30.0080.00317.03
7.2.20.0040.00716.71
7.2.10.0060.00916.67
7.2.00.0090.00616.71
7.1.330.0030.01015.65
7.1.320.0080.00615.30
7.1.310.0100.00715.58
7.1.300.0030.00615.31
7.1.290.0100.00315.68
7.1.280.0070.01015.38
7.1.270.0030.01015.63
7.1.260.0000.01315.45
7.1.250.0030.01015.76
7.1.240.0000.01115.38
7.1.230.0030.01015.57
7.1.220.0080.00415.68
7.1.210.0070.00315.39
7.1.200.0040.01015.69
7.1.190.0100.00315.31
7.1.180.0030.01315.37
7.1.170.0070.00415.71
7.1.160.0000.01115.48
7.1.150.0040.00815.70
7.1.140.0060.00915.37
7.1.130.0070.00315.47
7.1.120.0040.01115.73
7.1.110.0060.00915.75
7.1.100.0030.01215.70
7.1.90.0110.00415.33
7.1.80.0030.01015.63
7.1.70.0040.00716.39
7.1.60.0050.00716.47
7.1.50.0030.00715.67
7.1.40.0040.01115.52
7.1.30.0410.03726.03
7.1.20.0370.03725.96
7.1.10.0300.03717.87
7.1.00.0570.03717.95
7.0.330.0120.00315.23
7.0.320.0060.00315.27
7.0.310.0060.01215.23
7.0.300.0070.00715.32
7.0.290.0000.01115.02
7.0.280.0030.01014.83
7.0.270.0080.00015.36
7.0.260.0080.00015.29
7.0.250.0000.01015.25
7.0.240.0070.00715.43
7.0.230.0060.00915.00
7.0.220.0090.00614.93
7.0.210.0070.00715.37
7.0.200.0040.01015.95
7.0.190.0040.00715.18
7.0.180.0030.01015.43
7.0.170.0380.03817.67
7.0.160.0350.03717.68
7.0.150.0380.04217.66
7.0.140.0360.03717.71
7.0.130.0430.03817.58
7.0.120.0500.04717.57
7.0.110.0380.05017.71
7.0.100.0320.03717.61
7.0.90.0410.03117.70
7.0.80.0260.04417.77
7.0.70.0330.03817.50
7.0.60.0370.03317.58
7.0.50.0870.02917.67
7.0.40.0340.03416.64
7.0.30.0460.03916.61
7.0.20.0330.03516.67
7.0.10.0450.03116.69
7.0.00.0430.03316.72
5.6.400.0060.00614.28
5.6.390.0060.00914.15
5.6.380.0030.01214.25
5.6.370.0090.00914.50
5.6.360.0060.01014.27
5.6.350.0060.00314.02
5.6.340.0030.01014.37
5.6.330.0070.01014.38
5.6.320.0100.00613.92
5.6.310.0040.01114.29
5.6.300.0000.01314.25
5.6.290.0090.00614.12
5.6.280.0100.00314.33
5.6.270.0060.00614.06
5.6.260.0070.00714.30
5.6.250.0100.00314.39
5.6.240.0030.01414.44
5.6.230.0030.01314.46
5.6.220.0040.01114.06
5.6.210.0060.00314.34
5.6.200.0070.00714.36
5.6.190.0040.00914.30
5.6.180.0000.01814.14
5.6.170.0030.01014.50
5.6.160.0030.00614.37
5.6.150.0070.00714.17
5.6.140.0030.01014.17
5.6.130.0070.00714.14
5.6.120.0050.00514.52
5.6.110.0030.01214.22
5.6.100.0060.00614.05
5.6.90.0020.00913.85
5.6.80.0030.00614.42
5.6.70.0060.00613.95
5.6.60.0100.00714.33
5.6.50.0080.00614.09
5.6.40.0040.01214.23
5.6.30.0030.00814.38
5.6.20.0040.01114.13
5.6.10.0040.00714.09
5.6.00.0090.00614.08

preferences:
77.16 ms | 401 KiB | 5 Q