3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{ static function foo(){ $thıs->abc = 1; echo $thıs->abc; } } A::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.4.120.0080.00820.47
8.4.110.0140.00718.81
8.4.100.0120.00818.60
8.4.90.0110.00920.46
8.4.80.0100.00319.07
8.4.70.0060.00919.02
8.4.60.0030.00620.61
8.4.50.0140.00717.66
8.4.40.0030.00618.09
8.4.30.0090.00018.65
8.4.20.0130.00718.08
8.4.10.0000.00919.56
8.3.250.0080.01117.16
8.3.240.0080.01016.86
8.3.230.0100.00916.93
8.3.220.0100.00819.04
8.3.210.0080.00916.68
8.3.200.0070.00216.64
8.3.190.0120.00817.00
8.3.180.0120.00718.20
8.3.170.0150.00616.61
8.3.160.0040.00416.77
8.3.150.0110.00719.23
8.3.140.0000.01916.71
8.3.130.0050.00318.70
8.3.120.0000.00718.93
8.3.110.0030.00620.94
8.3.100.0060.00324.06
8.3.90.0100.00026.77
8.3.80.0090.00019.36
8.3.70.0080.01518.68
8.3.60.0100.01018.39
8.3.50.0130.00524.43
8.3.40.0160.00318.98
8.3.30.0110.00418.70
8.3.20.0050.00324.18
8.3.10.0080.00024.66
8.3.00.0050.00226.16
8.2.290.0120.00822.52
8.2.280.0110.00818.29
8.2.270.0080.00317.04
8.2.260.0160.00318.60
8.2.250.0050.00316.78
8.2.240.0000.00718.90
8.2.230.0080.00822.58
8.2.220.0070.00337.54
8.2.210.0090.01226.77
8.2.200.0040.00418.88
8.2.190.0140.00016.58
8.2.180.0100.00725.92
8.2.170.0100.01018.79
8.2.160.0100.00722.96
8.2.150.0080.00025.66
8.2.140.0000.00724.66
8.2.130.0050.00226.16
8.2.120.0070.00317.80
8.2.110.0030.00620.99
8.2.100.0090.00317.78
8.2.90.0050.00318.03
8.2.80.0080.00018.03
8.2.70.0000.00817.63
8.2.60.0040.00417.63
8.2.50.0030.00718.05
8.2.40.0060.00318.03
8.2.30.0070.00018.05
8.2.20.0040.00417.97
8.2.10.0050.00219.05
8.2.00.0030.00519.16
8.1.330.0070.00422.11
8.1.320.0130.00818.15
8.1.310.0030.01218.44
8.1.300.0060.00318.05
8.1.290.0060.00330.84
8.1.280.0120.00325.92
8.1.270.0030.00523.99
8.1.260.0080.00026.35
8.1.250.0030.00528.09
8.1.240.0000.01023.89
8.1.230.0070.00320.95
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0090.00017.36
8.1.190.0040.00417.23
8.1.180.0030.00718.83
8.1.170.0060.00318.67
8.1.160.0000.00718.80
8.1.150.0000.00718.63
8.1.140.0040.00418.80
8.1.130.0000.00720.07
8.1.120.0070.00017.32
8.1.110.0040.00417.29
8.1.100.0030.00617.34
8.1.90.0040.00417.28
8.1.80.0030.00517.38
8.1.70.0000.00817.28
8.1.60.0040.00417.48
8.1.50.0040.00417.52
8.1.40.0040.00417.46
8.1.30.0040.00417.54
8.1.20.0000.00717.65
8.1.10.0000.00817.52
8.1.00.0030.00517.53
8.0.300.0000.00819.76
8.0.290.0000.00916.58
8.0.280.0000.00718.38
8.0.270.0050.00317.91
8.0.260.0060.00018.43
8.0.250.0000.00716.95
8.0.240.0000.00716.86
8.0.230.0030.00516.78
8.0.220.0070.00016.78
8.0.210.0030.00316.77
8.0.200.0030.00316.92
8.0.190.0040.00416.92
8.0.180.0080.00016.81
8.0.170.0000.00816.79
8.0.160.0040.00416.76
8.0.150.0040.00416.84
8.0.140.0090.00016.84
8.0.130.0050.00013.31
8.0.120.0040.00416.80
8.0.110.0080.00016.83
8.0.100.0000.00716.70
8.0.90.0000.00816.71
8.0.80.0090.00716.84
8.0.70.0000.00816.81
8.0.60.0070.00016.76
8.0.50.0040.00416.90
8.0.30.0120.01216.78
8.0.20.0110.00717.06
8.0.10.0080.00017.05
8.0.00.0030.01416.69
7.4.330.0060.00015.55
7.4.320.0030.00316.36
7.4.300.0030.00316.45
7.4.290.0000.00716.48
7.4.280.0040.00416.37
7.4.270.0000.00716.59
7.4.260.0000.00513.20
7.4.250.0040.00416.39
7.4.240.0000.00816.43
7.4.230.0030.00316.28
7.4.220.0050.00216.62
7.4.210.0060.01116.50
7.4.200.0000.00716.25
7.4.130.0090.01116.42
7.4.120.0120.01216.34
7.4.110.0040.01216.48
7.4.100.0140.00416.42
7.4.90.0070.01016.56
7.4.80.0110.01119.39
7.4.70.0110.01116.36
7.4.60.0170.00616.25
7.4.50.0100.01316.33
7.4.40.0160.00816.41
7.4.30.0130.01116.41
7.4.20.0140.00916.20
7.4.10.0160.00716.61
7.4.00.0050.01116.55
7.3.330.0000.01016.21
7.3.320.0050.00013.17
7.3.310.0000.00716.32
7.3.300.0030.00316.16
7.3.290.0090.00816.35
7.3.260.0280.01916.36
7.3.230.0140.00516.35
7.3.210.0100.00616.45
7.3.200.0050.01116.49
7.3.190.0130.01216.27
7.3.180.0190.00416.34
7.3.170.0200.00416.50
7.3.160.0100.00716.40
7.3.150.0090.01816.38
7.3.140.0160.01016.25
7.3.130.0170.00616.40
7.3.120.0170.00716.49
7.3.110.0200.00116.37
7.3.100.0140.01116.37
7.3.90.0160.00816.30
7.3.80.0150.00816.38
7.3.70.0180.00516.25
7.3.60.0130.00816.27
7.3.50.0160.00916.30
7.3.40.0120.00716.18
7.3.30.0100.00916.38
7.3.20.0090.00916.34
7.3.10.0050.01416.29
7.3.00.0110.01116.29
7.2.330.0130.00716.58
7.2.320.0110.00616.68
7.2.310.0140.01016.51
7.2.300.0150.01116.71
7.2.290.0120.01316.54
7.2.280.0190.00416.60
7.2.270.0150.00816.57
7.2.260.0130.01016.59
7.2.250.0170.01016.60
7.2.240.0190.00616.66
7.2.230.0140.01216.53
7.2.220.0190.00416.50
7.2.210.0160.00916.35
7.2.200.0150.00916.53
7.2.190.0150.00816.52
7.2.180.0180.00616.58
7.2.170.0110.01016.54
7.2.160.0120.00916.62
7.2.150.0140.00816.60
7.2.140.0160.00516.54
7.2.130.0150.00416.47
7.2.120.0210.00216.66
7.2.110.0190.00716.52
7.2.100.0320.00816.60
7.2.90.0150.00816.58
7.2.80.0130.01116.56
7.2.70.0160.00716.66
7.2.60.0170.01116.43
7.2.50.0470.00716.56
7.2.40.0170.00716.55
7.2.30.0210.00316.68
7.2.20.0160.01016.60
7.2.10.0180.00916.59
7.2.00.0070.01116.47

preferences:
124.88 ms | 403 KiB | 5 Q