3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class Obj { public $p = 'Beauty beyond comare ...'; static function showP(){ echo $this->p; } } $z[0] = "showP"; Obj::$z{[0]}();

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.0030.01016.50
8.3.50.0180.00316.02
8.3.40.0090.00618.58
8.3.30.0100.00318.71
8.3.20.0040.00420.22
8.3.10.0000.00923.54
8.3.00.0090.00023.48
8.2.180.0120.00318.06
8.2.170.0090.00622.96
8.2.160.0070.00720.57
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00019.70
8.2.120.0150.00326.35
8.2.110.0030.00621.10
8.2.100.0040.00817.80
8.2.90.0000.00819.09
8.2.80.0050.00317.97
8.2.70.0040.00417.38
8.2.60.0000.00817.80
8.2.50.0040.00418.07
8.2.40.0000.01120.46
8.2.30.0030.00319.23
8.2.20.0040.00417.57
8.2.10.0090.00017.86
8.2.00.0080.00017.83
8.1.280.0100.00725.92
8.1.270.0040.00423.85
8.1.260.0070.00028.09
8.1.250.0000.00828.09
8.1.240.0090.00022.14
8.1.230.0030.00719.02
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0090.00017.10
8.1.190.0050.00317.00
8.1.180.0000.00718.10
8.1.170.0050.00318.57
8.1.160.0040.00420.63
8.1.150.0040.00418.64
8.1.140.0030.00619.36
8.1.130.0040.00417.56
8.1.120.0050.00217.30
8.1.110.0040.00417.20
8.1.100.0000.00717.28
8.1.90.0030.00317.24
8.1.80.0000.00717.28
8.1.70.0050.00317.30
8.1.60.0040.00417.45
8.1.50.0040.00417.38
8.1.40.0030.00517.43
8.1.30.0080.00017.38
8.1.20.0030.00517.37
8.1.10.0040.00417.35
8.1.00.0000.00717.32
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0000.00818.30
8.0.270.0050.00317.12
8.0.260.0000.00617.11
8.0.250.0030.00316.92
8.0.240.0000.00816.78
8.0.230.0030.00316.77
8.0.220.0030.00316.70
8.0.210.0000.00816.82
8.0.200.0000.01116.79
8.0.190.0030.00616.93
8.0.180.0040.00416.73
8.0.170.0080.00016.86
8.0.160.0030.00516.83
8.0.150.0000.00716.70
8.0.140.0030.00816.80
8.0.130.0030.00313.26
8.0.120.0040.00416.74
8.0.110.0050.00316.66
8.0.100.0000.00816.61
8.0.90.0070.00016.79
8.0.80.0040.01116.82
8.0.70.0000.00816.86
8.0.60.0030.00616.94
8.0.50.0000.00716.75
8.0.30.0140.00516.92
8.0.20.0060.01317.40
8.0.10.0030.00516.90
8.0.00.0100.00716.54
7.4.330.0030.00316.73
7.4.320.0030.00316.37
7.4.300.0080.00016.63
7.4.290.0030.00316.51
7.4.280.0070.00416.60
7.4.270.0040.00416.50
7.4.260.0000.00716.36
7.4.250.0040.00416.49
7.4.240.0040.00416.59
7.4.230.0070.00016.63
7.4.220.0100.01016.72
7.4.210.0130.00316.69
7.4.200.0050.00216.70
7.4.160.0090.00616.52
7.4.150.0070.01117.40
7.4.140.0150.00917.86
7.4.130.0140.00516.49
7.4.120.0040.01316.48
7.4.110.0110.00716.69
7.4.100.0130.00616.48
7.4.90.0000.01716.46
7.4.80.0120.00919.39
7.4.70.0040.01416.51
7.4.60.0100.00716.65
7.4.50.0110.00716.37
7.4.40.0120.00616.30
7.4.30.0170.00716.76
7.4.00.0040.01115.00
7.3.330.0000.00513.39
7.3.320.0000.00813.16
7.3.310.0000.00716.39
7.3.300.0060.00016.38
7.3.290.0080.01016.36
7.3.280.0110.00516.39
7.3.270.0120.01217.40
7.3.260.0120.00916.54
7.3.240.0110.00616.48
7.3.230.0060.00916.50
7.3.210.0170.00316.44
7.3.200.0120.00619.39
7.3.190.0120.00616.36
7.3.180.0090.00616.39
7.3.170.0050.01116.46
7.3.160.0090.00916.35
7.2.330.0070.01116.62
7.2.320.0130.00316.61
7.2.310.0100.00916.51
7.2.300.0030.01416.74
7.2.290.0120.00916.34
7.2.60.0110.00316.94
7.2.00.0070.01019.50
7.1.200.0060.00615.38
7.1.100.0060.00617.67
7.1.70.0030.00517.13
7.1.60.0130.00619.30
7.1.50.0100.01316.98
7.1.00.0070.07322.36
7.0.200.0050.00516.63
7.0.60.0300.06319.97
7.0.50.0130.07717.86
7.0.40.0100.08720.13
7.0.30.0300.04320.21
7.0.20.0430.07020.15
7.0.10.0000.06720.30
7.0.00.0070.07320.09
5.6.280.0000.03321.16
5.6.210.0100.07320.52
5.6.200.0030.09018.25
5.6.190.0070.09020.48
5.6.180.0600.05720.52
5.6.170.0270.07320.48
5.6.160.0100.06720.46
5.6.150.0100.05318.21
5.6.140.0030.08018.15
5.6.130.0070.04718.18
5.6.120.0070.08721.09
5.6.110.0030.05021.04
5.6.100.0000.04320.99
5.6.90.0000.04320.88
5.6.80.0130.07320.37
5.5.350.0170.08020.34
5.5.340.0000.04317.95
5.5.330.0030.05020.27
5.5.320.0430.06320.35
5.5.310.0070.05020.32
5.5.300.0000.04017.93
5.5.290.0000.04718.01
5.5.280.0030.05020.87
5.5.270.0070.08720.77
5.5.260.0000.04320.88
5.5.250.0130.07320.55
5.5.240.0170.06720.20

preferences:
53.15 ms | 401 KiB | 5 Q