3v4l.org

run code in 300+ PHP versions simultaneously
<?php $w = 'wonderous'; $z = 'a thing of beauty is ' . strtoupper($w); $o = new stdClass; $o->$p = $z; echo "{$o->$p}\n"; echo $o->$p,"\n";

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.75
8.3.50.0160.00521.10
8.3.40.0120.00318.68
8.3.30.0060.00918.79
8.3.20.0070.00020.16
8.3.10.0000.00823.42
8.3.00.0000.00923.65
8.2.180.0180.00418.54
8.2.170.0110.00322.96
8.2.160.0130.00020.52
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00819.77
8.2.120.0070.00026.35
8.2.110.0060.00322.33
8.2.100.0060.00618.04
8.2.90.0000.00819.22
8.2.80.0030.00618.04
8.2.70.0060.00317.50
8.2.60.0030.00617.91
8.2.50.0000.00818.07
8.2.40.0040.00422.27
8.2.30.0040.00419.36
8.2.20.0000.00717.68
8.2.10.0000.01018.07
8.2.00.0070.00018.18
8.1.280.0110.00725.92
8.1.270.0000.00823.87
8.1.260.0070.00028.09
8.1.250.0030.00528.09
8.1.240.0080.00023.88
8.1.230.0060.00918.97
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0030.00617.22
8.1.180.0000.00918.10
8.1.170.0080.00018.59
8.1.160.0030.00320.73
8.1.150.0030.00518.92
8.1.140.0000.00819.57
8.1.130.0020.00517.70
8.1.120.0000.00717.49
8.1.110.0040.00417.47
8.1.100.0030.00517.34
8.1.90.0030.00317.54
8.1.80.0000.00817.46
8.1.70.0000.00717.46
8.1.60.0050.00217.44
8.1.50.0000.00817.56
8.1.40.0030.00517.52
8.1.30.0050.00317.64
8.1.20.0000.00817.66
8.1.10.0080.00017.49
8.1.00.0000.00717.51
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0070.00018.37
8.0.270.0000.00717.13
8.0.260.0040.00417.26
8.0.250.0030.00316.92
8.0.240.0030.00317.00
8.0.230.0040.00416.91
8.0.220.0070.00016.94
8.0.210.0030.00316.86
8.0.200.0050.00516.90
8.0.190.0040.00417.05
8.0.180.0000.00716.93
8.0.170.0060.00316.89
8.0.160.0000.00716.80
8.0.150.0030.00316.98
8.0.140.0000.00816.88
8.0.130.0050.00313.43
8.0.120.0040.00416.92
8.0.110.0020.00516.91
8.0.100.0000.00717.00
8.0.90.0040.00416.84
8.0.80.0060.00916.87
8.0.70.0040.00416.80
8.0.60.0000.00717.02
8.0.50.0040.00416.83
8.0.30.0100.01217.05
8.0.20.0140.00517.40
8.0.10.0040.00417.07
8.0.00.0080.01016.78
7.4.330.0050.00016.66
7.4.320.0030.00316.61
7.4.300.0030.00316.53
7.4.290.0030.00316.53
7.4.280.0000.01016.51
7.4.270.0030.00316.50
7.4.260.0000.00716.48
7.4.250.0040.00416.55
7.4.240.0000.00716.57
7.4.230.0030.00316.25
7.4.220.0030.02116.46
7.4.210.0140.00316.61
7.4.200.0070.00016.54
7.4.160.0090.00616.33
7.4.150.0090.01317.40
7.4.140.0130.01117.86
7.4.130.0100.00716.33
7.4.120.0060.01216.49
7.4.110.0100.01316.46
7.4.100.0180.00516.52
7.4.90.0150.00416.62
7.4.80.0100.00719.39
7.4.70.0130.00316.34
7.4.60.0060.01116.39
7.4.50.0120.00416.56
7.4.40.0100.01016.57
7.4.30.0110.00616.61
7.4.00.0040.01215.05
7.3.330.0000.00613.31
7.3.320.0080.00013.33
7.3.310.0070.00016.27
7.3.300.0060.00016.38
7.3.290.0110.00516.43
7.3.280.0060.01116.36
7.3.270.0040.01417.40
7.3.260.0090.00916.58
7.3.240.0100.00716.46
7.3.230.0080.00816.44
7.3.210.0060.01216.36
7.3.200.0100.00719.39
7.3.190.0030.01416.55
7.3.180.0040.01216.75
7.3.170.0060.01416.51
7.3.160.0090.00616.37
7.3.10.0130.00616.02
7.3.00.0150.00416.22
7.2.330.0140.00316.42
7.2.320.0030.01316.54
7.2.310.0040.01416.68
7.2.300.0060.01116.82
7.2.290.0070.01416.80
7.2.130.0080.00816.46
7.2.120.0080.00816.10
7.2.110.0090.00016.96
7.2.100.0160.00316.90
7.2.90.0100.00716.36
7.2.80.0070.01116.79
7.2.70.0030.01416.19
7.2.60.0050.01216.87
7.2.50.0110.01116.75
7.2.40.0160.00316.76
7.2.30.0080.00816.65
7.2.20.0100.01316.30
7.2.10.0100.00716.45
7.2.00.0050.00918.17
7.1.250.0130.00315.28
7.1.200.0000.01315.66
7.1.100.0040.01117.74
7.1.70.0030.00316.86
7.1.60.0070.01419.30
7.1.50.0080.01217.01
7.1.00.0030.07722.44
7.0.200.0000.00716.91
7.0.60.0170.03021.77
7.0.50.0070.04017.81
7.0.40.0130.03320.23
7.0.30.0270.07020.34
7.0.20.0200.08720.09
7.0.10.0000.09020.21
7.0.00.0100.07719.96
5.6.280.0030.03721.04
5.6.210.0070.04320.66
5.6.200.0070.04018.15
5.6.190.0000.06020.39
5.6.180.0470.07720.58
5.6.170.0270.07320.38
5.6.160.0170.06720.61
5.6.150.0030.06318.23
5.6.140.0070.07318.19
5.6.130.0100.07318.21
5.6.120.0070.04320.99
5.6.110.0100.08321.13
5.6.100.0270.06021.00
5.6.90.0030.06721.07
5.6.80.0170.06720.40
5.5.350.0230.06020.44
5.5.340.0070.09318.02
5.5.330.0100.08320.43
5.5.320.0270.04320.13
5.5.310.0200.04720.28
5.5.300.0070.08018.02
5.5.290.0030.05017.96
5.5.280.0170.08020.89
5.5.270.0030.04020.72
5.5.260.0130.08720.88
5.5.250.0130.07020.57
5.5.240.0200.06320.18

preferences:
55.43 ms | 401 KiB | 5 Q