3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class Obj { public $p = 'Beauty beyond comare ...'; static function showP(){ echo self::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.0060.00916.38
8.3.50.0110.00721.21
8.3.40.0070.00718.71
8.3.30.0070.00718.84
8.3.20.0050.00220.25
8.3.10.0030.00523.54
8.3.00.0070.00723.52
8.2.180.0060.01318.66
8.2.170.0060.00922.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0050.00319.91
8.2.120.0070.00026.35
8.2.110.0060.00322.29
8.2.100.0080.00418.03
8.2.90.0050.00319.35
8.2.80.0030.00617.97
8.2.70.0040.00417.75
8.2.60.0000.00818.05
8.2.50.0040.00418.07
8.2.40.0000.01022.37
8.2.30.0040.00419.55
8.2.20.0040.00417.81
8.2.10.0050.00518.00
8.2.00.0040.00418.06
8.1.280.0110.01125.92
8.1.270.0060.01123.72
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00623.85
8.1.230.0040.00819.15
8.1.220.0000.00717.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0030.00617.22
8.1.180.0000.00918.10
8.1.170.0040.00418.56
8.1.160.0040.00420.65
8.1.150.0040.00418.68
8.1.140.0000.00819.38
8.1.130.0040.00417.50
8.1.120.0000.00817.36
8.1.110.0000.00917.19
8.1.100.0000.00717.25
8.1.90.0070.00017.35
8.1.80.0000.00817.32
8.1.70.0080.00017.29
8.1.60.0000.00817.50
8.1.50.0080.00017.32
8.1.40.0030.00617.50
8.1.30.0000.00817.59
8.1.20.0030.00517.58
8.1.10.0000.00717.48
8.1.00.0000.00817.31
8.0.300.0000.00718.77
8.0.290.0060.00316.75
8.0.280.0000.00718.45
8.0.270.0030.00317.26
8.0.260.0000.00717.19
8.0.250.0030.00316.85
8.0.240.0000.00716.95
8.0.230.0050.00316.83
8.0.220.0030.00316.89
8.0.210.0000.00716.85
8.0.200.0090.00016.96
8.0.190.0080.00016.91
8.0.180.0070.00016.93
8.0.170.0030.00616.96
8.0.160.0040.00316.80
8.0.150.0000.00716.83
8.0.140.0000.00816.88
8.0.130.0000.00613.32
8.0.120.0080.00316.87
8.0.110.0040.00416.91
8.0.100.0040.00416.93
8.0.90.0080.00016.79
8.0.80.0150.00416.84
8.0.70.0000.00716.85
8.0.60.0000.00716.75
8.0.50.0040.00416.90
8.0.30.0080.00716.96
8.0.20.0120.00817.40
8.0.10.0050.00216.93
8.0.00.0130.00616.85
7.4.330.0000.00516.82
7.4.320.0030.00316.43
7.4.300.0000.00716.58
7.4.290.0020.00516.42
7.4.280.0000.01016.51
7.4.270.0000.00716.53
7.4.260.0070.00016.46
7.4.250.0040.00416.57
7.4.240.0040.00416.56
7.4.230.0000.00716.45
7.4.220.0100.01716.69
7.4.210.0070.00716.55
7.4.200.0000.00716.42
7.4.160.0150.00016.64
7.4.150.0170.00017.40
7.4.140.0100.01217.86
7.4.130.0100.00916.63
7.4.120.0090.00716.50
7.4.110.0070.01116.46
7.4.100.0110.00516.53
7.4.90.0120.00616.29
7.4.80.0140.00519.39
7.4.70.0070.01016.37
7.4.60.0030.01316.32
7.4.50.0120.00716.40
7.4.40.0060.01316.31
7.4.30.0150.00616.41
7.4.00.0100.00614.73
7.3.330.0030.00313.37
7.3.320.0080.00013.18
7.3.310.0030.00316.26
7.3.300.0070.00016.39
7.3.290.0090.00616.35
7.3.280.0090.00816.35
7.3.270.0170.00317.40
7.3.260.0150.00316.50
7.3.250.0070.01316.49
7.3.240.0120.00816.46
7.3.230.0000.01616.39
7.3.210.0160.00616.34
7.3.200.0120.00819.39
7.3.190.0160.00616.32
7.3.180.0100.00716.35
7.3.170.0040.01116.54
7.3.160.0040.01216.33
7.3.10.0040.01116.74
7.3.00.0040.00816.67
7.2.330.0090.00916.35
7.2.320.0120.00616.39
7.2.310.0100.00616.31
7.2.300.0100.00716.62
7.2.290.0090.01316.54
7.2.130.0070.00716.72
7.2.120.0090.00317.01
7.2.110.0040.01116.93
7.2.100.0060.01016.44
7.2.90.0090.00616.95
7.2.80.0070.01016.66
7.2.70.0100.00716.59
7.2.60.0050.00716.82
7.2.50.0000.01016.96
7.2.40.0060.00916.89
7.2.30.0060.00916.91
7.2.20.0040.00816.93
7.2.10.0030.01016.87
7.2.00.0070.00716.73
7.1.250.0070.00715.48
7.1.200.0030.00915.68
7.1.100.0000.01218.10
7.1.70.0000.00816.96
7.1.60.0070.01719.30
7.1.50.0060.00916.73
7.1.00.0000.08022.25
7.0.200.0040.00416.73
7.0.60.0230.08319.92
7.0.50.0070.04717.88
7.0.40.0070.08320.25
7.0.30.0300.03720.20
7.0.20.0330.06020.10
7.0.10.0030.07320.23
7.0.00.0100.05020.35
5.6.280.0000.03321.05
5.6.210.0070.08020.63
5.6.200.0030.06318.29
5.6.190.0100.08020.52
5.6.180.0570.06720.39
5.6.170.0300.07720.39
5.6.160.0030.04720.56
5.6.150.0100.05018.23
5.6.140.0130.07718.22
5.6.130.0100.05718.28
5.6.120.0070.05320.90
5.6.110.0230.06321.09
5.6.100.0030.04320.98
5.6.90.0030.04320.98
5.6.80.0030.04320.51
5.5.350.0230.07020.50
5.5.340.0070.06317.95
5.5.330.0000.08720.42
5.5.320.0370.07320.35
5.5.310.0170.04720.32
5.5.300.0070.03317.97
5.5.290.0030.07717.94
5.5.280.0070.08320.78
5.5.270.0230.07320.97
5.5.260.0100.04020.96
5.5.250.0070.06020.68
5.5.240.0130.03720.27

preferences:
35.28 ms | 401 KiB | 5 Q