3v4l.org

run code in 300+ PHP versions simultaneously
<?php class 🍦 { function 👅() { return get_class($this); } } class 💩 extends 🍦 { } $😳 = new 💩(); echo serialize($😳);

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.40.0060.01218.79
8.3.30.0040.01118.82
8.3.20.0040.00420.30
8.3.10.0000.00821.87
8.3.00.0060.00319.16
8.2.170.0110.00422.96
8.2.160.0100.00720.38
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00419.89
8.2.110.0080.00022.25
8.2.100.0080.00417.66
8.2.90.0000.00819.23
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0080.00317.93
8.2.50.0040.00418.07
8.2.40.0030.00618.16
8.2.30.0040.00418.02
8.2.20.0040.00417.58
8.2.10.0030.00517.86
8.2.00.0000.00717.51
8.1.270.0060.00320.84
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0090.00023.83
8.1.230.0110.00019.00
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0050.00617.23
8.1.190.0000.00917.11
8.1.180.0070.00018.10
8.1.170.0050.00518.59
8.1.160.0040.00421.85
8.1.150.0050.00218.82
8.1.140.0070.00017.38
8.1.130.0030.00317.66
8.1.120.0040.00317.29
8.1.110.0000.00717.38
8.1.100.0040.00417.41
8.1.90.0040.00417.43
8.1.80.0050.00317.33
8.1.70.0000.00717.45
8.1.60.0030.00517.50
8.1.50.0000.00817.51
8.1.40.0030.00617.47
8.1.30.0090.00017.56
8.1.20.0000.00817.41
8.1.10.0070.00017.51
8.1.00.0000.00917.52
8.0.300.0000.00719.21
8.0.290.0040.00416.75
8.0.280.0040.00418.43
8.0.270.0050.00217.25
8.0.260.0000.00617.16
8.0.250.0060.00016.97
8.0.240.0030.00316.87
8.0.230.0030.00316.91
8.0.220.0000.00716.81
8.0.210.0060.00016.72
8.0.200.0000.00916.77
8.0.190.0080.00016.77
8.0.180.0040.00416.88
8.0.170.0040.00416.73
8.0.160.0000.00716.66
8.0.150.0000.00716.62
8.0.140.0000.00716.80
8.0.130.0040.00413.27
8.0.120.0000.00816.66
8.0.110.0000.00716.78
8.0.100.0000.00816.84
8.0.90.0000.00716.70
8.0.80.0090.00616.76
8.0.70.0000.00716.82
8.0.60.0040.00416.85
8.0.50.0000.00716.80
8.0.30.0120.01117.02
8.0.20.0080.01117.40
8.0.10.0040.00416.91
8.0.00.0070.01316.71
7.4.330.0050.00015.08
7.4.320.0040.00416.54
7.4.300.0060.00016.41
7.4.290.0030.00516.39
7.4.280.0080.00016.35
7.4.270.0070.00016.42
7.4.260.0000.00816.39
7.4.250.0070.00016.48
7.4.240.0000.00716.45
7.4.230.0030.00316.42
7.4.220.0070.01016.40
7.4.210.0080.00816.56
7.4.200.0070.00016.32
7.4.160.0060.00916.54
7.4.150.0100.01917.40
7.4.140.0080.01117.86
7.4.130.0130.00516.39
7.4.120.0050.01316.38
7.4.110.0100.01316.48
7.4.100.0070.01016.36
7.4.90.0140.00316.58
7.4.80.0080.00816.43
7.4.70.0090.00916.50
7.4.60.0090.00616.38
7.4.50.0050.00016.32
7.4.40.0040.01216.33
7.4.30.0150.00716.34
7.4.00.0060.00915.01
7.3.330.0060.00013.14
7.3.320.0000.01213.13
7.3.310.0070.00016.19
7.3.300.0070.00016.12
7.3.290.0000.00716.18
7.3.280.0070.01016.12
7.3.270.0100.00717.40
7.3.260.0100.01316.13
7.3.250.0100.00716.30
7.3.240.0080.00816.42
7.3.230.0070.01516.39
7.3.210.0070.01016.05
7.3.200.0090.01219.39
7.3.190.0100.00616.41
7.3.180.0060.01216.32
7.3.170.0060.01816.42
7.3.160.0090.00916.35
7.3.120.0070.01414.86
7.3.110.0100.01014.58
7.3.100.0100.00614.62
7.3.90.0000.01414.51
7.3.80.0030.00614.89
7.3.70.0040.01114.83
7.3.60.0000.01114.80
7.3.50.0100.00314.82
7.3.40.0100.00314.63
7.3.30.0030.01014.71
7.3.20.0000.01416.60
7.3.10.0110.00316.63
7.3.00.0110.00716.36
7.2.330.0060.01216.55
7.2.320.0160.00616.25
7.2.310.0120.00816.49
7.2.300.0100.00616.49
7.2.290.0070.01016.31
7.2.250.0060.01014.71
7.2.240.0070.01415.14
7.2.230.0060.01015.00
7.2.220.0070.01014.97
7.2.210.0070.00715.09
7.2.200.0100.00315.06
7.2.190.0100.00315.01
7.2.180.0030.01214.89
7.2.170.0040.01215.08
7.2.130.0130.01316.31
7.2.120.0130.01316.88
7.2.110.0160.00616.30
7.2.100.0150.01216.34
7.2.90.0140.01416.09
7.2.80.0110.00916.21
7.2.70.0170.01016.53
7.2.60.0040.01416.64
7.2.50.0220.00016.42
7.2.40.0140.01216.75
7.2.30.0120.00616.46
7.2.20.0100.01416.23
7.2.10.0090.01216.13
7.2.00.0110.00917.89
7.1.330.0000.01215.80
7.1.320.0000.00915.86
7.1.310.0030.00915.52
7.1.300.0070.00715.74
7.1.290.0000.00915.59
7.1.280.0080.00015.76
7.1.270.0070.00715.62
7.1.260.0090.00615.74
7.1.250.0160.00615.22
7.1.200.0080.00415.89
7.1.100.0120.00816.23
7.1.70.0000.00917.09
7.1.60.0110.01419.46
7.1.50.0030.01716.48
7.1.00.0030.07722.27
7.0.200.0160.00814.70
7.0.140.0000.07721.93
7.0.60.0170.07020.01
7.0.50.0030.05017.87
7.0.40.0030.09020.04
7.0.30.0230.05720.17
7.0.20.0370.07720.25
7.0.10.0070.08320.30
7.0.00.0030.07320.05
5.6.280.0100.06721.13
5.6.210.0070.07320.57
5.6.200.0070.04718.14
5.6.190.0100.08020.41
5.6.180.0230.04320.47
5.6.170.0270.07020.39
5.6.160.0030.04320.43
5.6.150.0130.08018.15
5.6.140.0000.04718.18
5.6.130.0000.09018.16
5.6.120.0170.07721.05
5.6.110.0100.05321.11
5.6.100.0070.07020.99
5.6.90.0030.04320.88
5.6.80.0100.06020.41
5.5.350.0330.08020.43
5.5.340.0130.07317.95
5.5.330.0100.03720.31
5.5.320.0070.08320.35
5.5.310.0430.07320.27
5.5.300.0030.03718.01
5.5.290.0030.09017.97
5.5.280.0130.06320.66
5.5.270.0070.07720.78
5.5.260.0130.07020.80
5.5.250.0030.07720.69
5.5.240.0030.07320.35
5.4.450.0530.06019.34
5.4.440.1030.05719.59
5.4.430.0330.05719.55
5.4.420.1230.05019.49
5.4.410.1300.06719.42
5.4.400.1070.06319.06
5.4.390.0230.04718.79
5.4.380.0230.05018.63
5.4.370.0100.06318.73
5.4.360.0200.05018.75
5.4.350.0170.05718.63
5.4.340.0200.05018.63
5.4.320.0200.05318.81
5.4.310.0300.04718.80
5.4.300.0200.05018.78
5.4.290.0270.04318.72
5.4.280.0100.06018.46
5.4.270.0130.05718.53
5.4.260.0170.05018.79
5.4.250.0230.05018.46
5.4.240.0230.05318.71
5.4.230.0200.05018.49
5.4.220.0130.05718.77
5.4.210.0200.05018.77
5.4.200.0230.04316.61
5.4.190.0100.05718.79
5.4.180.0230.07318.77
5.4.170.0070.06718.73
5.4.160.0270.04718.71
5.4.150.0270.04318.61
5.4.140.0170.05316.22
5.4.130.0070.06016.42
5.4.120.0100.05716.37
5.4.110.0130.05316.44
5.4.100.0200.05316.33
5.4.90.0170.05016.46
5.4.80.0170.05016.28
5.4.70.0130.05716.31
5.4.60.0100.05716.20
5.4.50.0230.04316.23
5.4.40.0170.05016.25
5.4.30.0230.04316.29
5.4.20.0170.05016.30
5.4.10.0170.04716.13
5.4.00.0200.04315.77
5.3.290.0230.04714.71
5.3.280.0130.05714.57
5.3.270.0130.05714.65
5.3.260.0100.06014.77
5.3.250.0170.05014.60
5.3.240.0170.05314.62
5.3.230.0270.05714.72
5.3.220.0230.04714.62
5.3.210.0200.05314.72
5.3.200.0200.04714.70
5.3.190.0170.05014.60
5.3.180.0130.05314.66
5.3.170.0130.05314.79
5.3.160.0100.06014.61
5.3.150.0100.05714.78
5.3.140.0170.05014.65
5.3.130.0070.08314.71
5.3.120.0230.06014.68
5.3.110.0270.05014.56
5.3.100.0130.06014.27
5.3.90.0170.06014.13
5.3.80.0230.05014.04
5.3.70.0200.04714.16
5.3.60.0130.05714.20
5.3.50.0230.04714.00
5.3.40.0270.05014.06
5.3.30.0200.05013.95
5.3.20.0100.06013.67
5.3.10.0200.05013.68
5.3.00.0170.05313.70
5.2.170.0130.05011.26
5.2.160.0130.04311.18
5.2.150.0300.04711.20
5.2.140.0270.05011.16
5.2.130.0100.05711.14
5.2.120.0130.04311.18
5.2.110.0270.04011.22
5.2.100.0070.04711.10
5.2.90.0100.04311.12
5.2.80.0170.04711.22
5.2.70.0070.05011.33
5.2.60.0070.05711.11
5.2.50.0130.04011.07
5.2.40.0100.04011.02
5.2.30.0070.04711.00
5.2.20.0130.04710.98
5.2.10.0030.04710.96
5.2.00.0170.03710.84
5.1.60.0230.03710.04
5.1.50.0130.03310.07
5.1.40.0170.03010.09
5.1.30.0070.04010.38
5.1.20.0100.03710.55
5.1.10.0170.03010.17
5.1.00.0100.03710.09
5.0.50.0070.0308.72
5.0.40.0030.0308.43
5.0.30.0100.0408.40
5.0.20.0100.0238.20
5.0.10.0070.0278.26
5.0.00.0070.0438.20
4.4.90.0100.0235.89
4.4.80.0030.0236.01
4.4.70.0070.0235.93
4.4.60.0000.0305.98
4.4.50.0100.0205.88
4.4.40.0100.0375.93
4.4.30.0070.0205.88
4.4.20.0130.0136.03
4.4.10.0100.0176.03
4.4.00.0030.0375.99
4.3.110.0130.0175.90
4.3.100.0070.0205.87
4.3.90.0070.0205.88
4.3.80.0030.0375.79
4.3.70.0100.0175.80
4.3.60.0070.0205.82
4.3.50.0030.0275.91
4.3.40.0030.0375.84
4.3.30.0030.0234.57
4.3.20.0000.0274.56
4.3.10.0030.0234.51
4.3.00.0000.01714.42

preferences:
36.44 ms | 400 KiB | 5 Q