3v4l.org

run code in 300+ PHP versions simultaneously
<?php class OzanKlasse { public $someField = 'someTextField'; static function someFunction() { $self = new Self(); echo $self->someField; } } OzanKlasse::someFunction();

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.0080.00818.30
8.3.50.0100.00316.46
8.3.40.0110.00418.84
8.3.30.0160.00018.59
8.3.20.0090.00020.64
8.3.10.0000.00821.96
8.3.00.0040.00418.64
8.2.180.0140.00318.04
8.2.170.0110.00422.96
8.2.160.0030.01020.53
8.2.150.0050.00524.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00426.16
8.2.110.0060.00320.38
8.2.100.0110.00317.91
8.2.90.0000.00818.04
8.2.80.0000.00917.97
8.2.70.0050.00317.63
8.2.60.0040.00417.63
8.2.50.0040.00418.05
8.2.40.0000.00718.03
8.2.30.0000.00819.41
8.2.20.0050.00217.93
8.2.10.0060.00319.23
8.2.00.0070.00019.09
8.1.280.0140.00725.92
8.1.270.0090.00023.95
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.87
8.1.230.0070.00419.16
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0070.00317.35
8.1.190.0080.00017.22
8.1.180.0060.00318.10
8.1.170.0000.00817.62
8.1.160.0000.00718.95
8.1.150.0080.00018.86
8.1.140.0040.00418.76
8.1.130.0000.01020.24
8.1.120.0000.00817.38
8.1.110.0030.00517.29
8.1.100.0000.00817.39
8.1.90.0070.00017.32
8.1.80.0040.00417.29
8.1.70.0030.00317.40
8.1.60.0050.00217.54
8.1.50.0030.00617.52
8.1.40.0030.00717.50
8.1.30.0040.00417.59
8.1.20.0040.00417.66
8.1.10.0040.00417.46
8.1.00.0000.00717.41
8.0.300.0040.00319.73
8.0.290.0040.00416.63
8.0.280.0040.00418.46
8.0.270.0000.00717.98
8.0.260.0030.00320.02
8.0.250.0030.00316.88
8.0.240.0000.00716.90
8.0.230.0060.00016.84
8.0.220.0030.00316.81
8.0.210.0030.00316.82
8.0.200.0040.00416.85
8.0.190.0050.00316.89
8.0.180.0000.00716.70
8.0.170.0070.00316.71
8.0.160.0070.00016.84
8.0.150.0080.00016.64
8.0.140.0030.00716.72
8.0.130.0000.00513.27
8.0.120.0040.00416.69
8.0.110.0020.00516.82
8.0.100.0050.00316.78
8.0.90.0030.00616.73
8.0.80.0060.01116.82
8.0.70.0000.00716.91
8.0.60.0000.00716.81
8.0.50.0000.00716.70
8.0.30.0130.00317.08
8.0.20.0120.00816.96
8.0.10.0050.00316.83
8.0.00.0140.00416.70
7.4.330.0050.00016.56
7.4.320.0000.00616.60
7.4.300.0000.00616.54
7.4.290.0000.00716.50
7.4.280.0050.00216.58
7.4.270.0050.00516.52
7.4.260.0030.00313.26
7.4.250.0030.00316.41
7.4.240.0040.00416.55
7.4.230.0000.00616.62
7.4.220.0020.00516.45
7.4.210.0070.00916.58
7.4.200.0070.00016.54
7.4.130.0080.01316.55
7.4.120.0120.00816.40
7.4.110.0100.00716.37
7.4.100.0140.00416.54
7.4.90.0100.01116.41
7.4.80.0130.00619.39
7.4.70.0090.00916.50
7.4.60.0040.01216.39
7.4.50.0120.00316.20
7.4.40.0060.00916.47
7.4.20.0110.01116.17
7.4.10.0140.00916.31
7.4.00.0090.01416.33
7.3.330.0080.00016.19
7.3.320.0000.00513.03
7.3.310.0030.00316.19
7.3.300.0090.00016.19
7.3.290.0100.00516.20
7.3.260.0120.00616.32
7.3.240.0120.00616.40
7.3.230.0100.00816.19
7.3.210.0030.01416.38
7.3.200.0040.01416.32
7.3.190.0070.01316.52
7.3.180.0090.00916.41
7.3.170.0110.00516.28
7.3.160.0080.00816.35
7.3.140.0150.00816.31
7.3.130.0120.00916.09
7.3.120.0160.00616.26
7.3.110.0060.01516.43
7.3.100.0090.00616.35
7.3.90.0130.00716.36
7.3.80.0120.00416.34
7.3.70.0100.01116.23
7.3.60.0150.00616.25
7.3.50.0100.01016.16
7.3.40.0070.00716.16
7.3.30.0080.00816.05
7.3.20.0100.00716.14
7.3.10.0140.01016.27
7.3.00.0070.00716.27
7.2.330.0160.00616.85
7.2.320.0150.00316.87
7.2.310.0050.01116.59
7.2.300.0130.01016.84
7.2.290.0060.00916.31
7.2.270.0070.01716.38
7.2.260.0090.01416.36
7.2.250.0090.01316.64
7.2.240.0090.00616.38
7.2.230.0100.00516.23
7.2.220.0040.01716.59
7.2.210.0090.01316.23
7.2.200.0070.01516.60
7.2.190.0130.00916.36
7.2.180.0100.00616.32
7.2.170.0090.01416.66
7.2.160.0070.01016.38
7.2.150.0120.00616.66
7.2.140.0150.00716.71
7.2.130.0040.01416.52
7.2.120.0060.00916.61
7.2.110.0120.01216.53
7.2.100.0110.01016.54
7.2.90.0090.00916.57
7.2.80.0140.00416.53
7.2.70.0160.00316.61
7.2.60.0150.00316.45
7.2.50.0100.00616.45
7.2.40.0130.01016.50
7.2.30.0000.02216.47
7.2.20.0130.01016.41
7.2.10.0040.01816.60
7.2.00.0210.00016.51

preferences:
55.37 ms | 400 KiB | 5 Q