3v4l.org

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

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.0100.00318.39
8.3.30.0160.00318.57
8.3.20.0080.00020.83
8.3.10.0000.00721.73
8.3.00.0040.00418.84
8.2.170.0060.01222.96
8.2.160.0030.01020.43
8.2.150.0100.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00426.16
8.2.110.0090.00020.39
8.2.100.0120.00017.72
8.2.90.0050.00317.50
8.2.80.0040.00418.66
8.2.70.0080.00017.50
8.2.60.0040.00417.38
8.2.50.0000.00818.05
8.2.40.0040.00418.09
8.2.30.0070.00019.43
8.2.20.0000.00717.82
8.2.10.0000.00819.09
8.2.00.0000.00819.02
8.1.270.0070.00020.68
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.79
8.1.230.0040.00720.88
8.1.220.0040.00418.32
8.1.210.0040.00418.77
8.1.200.0060.00317.55
8.1.190.0050.00317.00
8.1.180.0000.01018.10
8.1.170.0060.00317.62
8.1.160.0000.00818.98
8.1.150.0040.00418.76
8.1.140.0030.00618.76
8.1.130.0000.00717.23
8.1.120.0000.00717.30
8.1.110.0000.00717.21
8.1.100.0030.00617.35
8.1.90.0040.00417.32
8.1.80.0000.00717.32
8.1.70.0000.00817.29
8.1.60.0000.00717.43
8.1.50.0040.00417.41
8.1.40.0030.00917.43
8.1.30.0030.00617.50
8.1.20.0000.00817.53
8.1.10.0040.00417.38
8.1.00.0030.00517.32
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0060.00018.60
8.0.270.0000.00717.86
8.0.260.0000.00616.67
8.0.250.0060.00316.76
8.0.240.0000.00616.86
8.0.230.0060.00016.81
8.0.220.0000.00816.79
8.0.210.0070.00016.64
8.0.200.0070.00016.84
8.0.190.0080.00016.80
8.0.180.0000.00716.67
8.0.170.0060.00316.69
8.0.160.0040.00416.79
8.0.150.0070.00016.65
8.0.140.0040.00716.70
8.0.130.0000.00613.06
8.0.120.0000.00816.69
8.0.110.0000.00716.53
8.0.100.0040.00416.78
8.0.90.0000.00916.86
8.0.80.0070.00916.71
8.0.70.0030.00516.64
8.0.60.0000.00716.73
8.0.50.0030.00316.64
8.0.30.0000.01617.01
8.0.20.0140.00316.82
8.0.10.0050.00216.94
8.0.00.0120.00616.52
7.4.330.0000.00516.58
7.4.320.0000.00616.38
7.4.300.0000.00616.47
7.4.290.0070.00016.46
7.4.280.0040.00416.46
7.4.270.0100.00016.45
7.4.260.0030.00313.10
7.4.250.0040.00416.26
7.4.240.0040.00316.41
7.4.230.0030.00316.29
7.4.220.0040.00416.38
7.4.210.0070.00716.40
7.4.200.0070.00016.47
7.4.130.0090.00916.34
7.4.120.0120.01316.17
7.4.110.0050.01316.16
7.4.100.0110.00616.23
7.4.90.0130.00316.41
7.4.80.0090.01319.39
7.4.70.0140.00516.38
7.4.60.0170.00016.34
7.4.50.0070.00716.25
7.4.40.0090.00616.32
7.4.20.0090.00916.12
7.4.10.0100.01316.19
7.4.00.0120.00916.33
7.3.330.0060.00016.22
7.3.320.0030.00313.13
7.3.310.0040.00416.14
7.3.300.0000.00816.12
7.3.290.0060.00816.19
7.3.260.0200.00016.09
7.3.240.0090.00916.28
7.3.230.0130.00616.07
7.3.210.0090.00916.42
7.3.200.0110.01116.43
7.3.190.0030.01316.27
7.3.180.0110.01116.35
7.3.170.0060.01016.31
7.3.160.0040.01216.25
7.3.140.0060.01216.10
7.3.130.0110.00916.15
7.3.120.0150.00616.05
7.3.110.0100.01016.09
7.3.100.0080.00916.31
7.3.90.0080.00816.27
7.3.80.0060.00916.06
7.3.70.0130.00616.18
7.3.60.0080.01216.12
7.3.50.0000.01416.22
7.3.40.0160.00616.07
7.3.30.0070.01416.05
7.3.20.0160.00316.20
7.3.10.0040.01416.17
7.3.00.0120.00616.15
7.2.330.0250.00816.38
7.2.320.0110.00616.40
7.2.310.0060.01016.24
7.2.300.0090.00916.59
7.2.290.0160.00316.31
7.2.270.0060.01216.22
7.2.260.0040.01916.13
7.2.250.0120.00616.46
7.2.240.0100.01116.23
7.2.230.0190.00016.27
7.2.220.0120.00316.18
7.2.210.0080.00816.50
7.2.200.0080.00816.35
7.2.190.0060.01416.17
7.2.180.0070.01616.45
7.2.170.0120.00416.40
7.2.160.0030.01916.20
7.2.150.0140.00416.44
7.2.140.0200.00316.19
7.2.130.0220.00016.30
7.2.120.0120.00916.30
7.2.110.0060.00916.21
7.2.100.0080.01216.25
7.2.90.0100.01216.27
7.2.80.0000.01616.35
7.2.70.0170.00016.24
7.2.60.0130.00316.38
7.2.50.0190.00616.33
7.2.40.0120.01216.31
7.2.30.0170.00716.30
7.2.20.0120.01216.50
7.2.10.0060.01216.28
7.2.00.0140.00416.31

preferences:
40.81 ms | 400 KiB | 5 Q