3v4l.org

run code in 300+ PHP versions simultaneously
<?php $feed = new StdClass; $feed->name = 'foo'; $feed->url = 'bar'; $feed->bob->toy = 'fred'; $html = <<<HTML onclick="javascript:modify_feed('{$feed->name}','{$feed->url}');" HTML; echo $html; print_r($feed);

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.0120.00618.31
8.3.50.0090.00821.21
8.3.40.0120.00618.79
8.3.30.0160.00319.14
8.3.20.0070.00020.29
8.3.10.0080.00021.96
8.3.00.0040.00422.39
8.2.180.0060.00916.50
8.2.170.0110.00422.96
8.2.160.0100.00619.06
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0100.00019.89
8.2.110.0070.00320.60
8.2.100.0070.00419.41
8.2.90.0040.00419.14
8.2.80.0000.00818.05
8.2.70.0060.00317.50
8.2.60.0030.00617.90
8.2.50.0050.00318.07
8.2.40.0050.00318.03
8.2.30.0040.00417.98
8.2.20.0000.00717.71
8.2.10.0070.00017.56
8.2.00.0080.00017.75
8.1.280.0070.01025.92
8.1.270.0050.00322.19
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.77
8.1.230.0080.00319.07
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.36
8.1.190.0000.00817.53
8.1.180.0000.00818.70
8.1.170.0000.00918.37
8.1.160.0040.00422.14
8.1.150.0030.00518.48
8.1.140.0070.00017.33
8.1.130.0000.00817.74
8.1.120.0080.00017.39
8.1.110.0040.00417.41
8.1.100.0000.00717.44
8.1.90.0070.00017.41
8.1.80.0040.00417.40
8.1.70.0030.00317.37
8.1.60.0030.00617.40
8.1.50.0030.00517.54
8.1.40.0030.00617.48
8.1.30.0030.00617.50
8.1.20.0080.00017.61
8.1.10.0000.00717.54
8.1.00.0030.00617.42
8.0.300.0000.00718.77
8.0.290.0020.00517.05
8.0.280.0030.00318.43
8.0.270.0000.00717.12
8.0.260.0030.00318.30
8.0.250.0030.00317.00
8.0.240.0030.00516.92
8.0.230.0050.00316.98
8.0.220.0020.00516.89
8.0.210.0030.00316.91
8.0.200.0060.00016.92
8.0.190.0030.00516.92
8.0.180.0000.00816.95
8.0.170.0040.00416.93
8.0.160.0000.00716.88
8.0.150.0030.00316.88
8.0.140.0000.00716.89
8.0.130.0000.00613.23
8.0.120.0050.00316.73
8.0.110.0050.00216.78
8.0.100.0040.00416.75
8.0.90.0040.00416.95
8.0.80.0070.01716.94
8.0.70.0070.00016.76
8.0.60.0030.00516.92
8.0.50.0040.00416.78
8.0.30.0100.00916.86
8.0.20.0080.01117.40
8.0.10.0050.00316.96
8.0.00.0070.01116.59
7.4.330.0020.00215.00
7.4.320.0060.00016.44
7.4.300.0030.00316.54
7.4.290.0000.00716.34
7.4.280.0060.00316.54
7.4.270.0030.00316.36
7.4.260.0090.00016.44
7.4.250.0000.00816.52
7.4.240.0020.00516.50
7.4.230.0030.00316.54
7.4.220.0070.01016.44
7.4.210.0070.00716.45
7.4.200.0070.00016.65
7.4.190.0000.00716.50
7.4.160.0120.01016.68
7.4.150.0110.00617.40
7.4.140.0110.01017.86
7.4.130.0090.01216.40
7.4.120.0030.01416.47
7.4.110.0080.00816.41
7.4.100.0150.00316.63
7.4.90.0130.00716.43
7.4.80.0120.00619.39
7.4.70.0110.01216.35
7.4.60.0040.01416.41
7.4.50.0080.00016.48
7.4.40.0060.00922.77
7.4.30.0080.00816.50
7.4.00.0060.00915.08
7.3.330.0030.00313.24
7.3.320.0030.00313.07
7.3.310.0000.00616.27
7.3.300.0070.00016.38
7.3.290.0130.00716.37
7.3.280.0120.00516.30
7.3.270.0110.00717.40
7.3.260.0150.00416.46
7.3.250.0110.00616.34
7.3.240.0090.00916.39
7.3.230.0060.01116.49
7.3.210.0080.00816.42
7.3.200.0090.00619.39
7.3.190.0070.00916.26
7.3.180.0070.01016.47
7.3.170.0120.00416.30
7.3.160.0030.01216.32
7.3.120.0100.00015.04
7.2.330.0070.01016.59
7.2.320.0050.01116.74
7.2.310.0070.01016.58
7.2.300.0130.00616.45
7.2.290.0110.00416.79
7.2.00.0070.00419.48
7.1.200.0040.00815.85
7.1.100.0000.01317.97
7.1.70.0060.00916.97
7.1.60.0070.01119.82
7.1.50.0140.01016.96
7.1.00.0030.07722.45
7.0.200.0040.00416.69
7.0.140.0030.07021.99
7.0.60.0000.09719.96
7.0.50.0100.06017.81
7.0.40.0070.09020.40
7.0.30.0270.04020.18
7.0.20.0300.05020.00
7.0.10.0270.04020.33
7.0.00.0170.07720.19
5.6.280.0100.07020.92
5.6.210.0130.07320.70
5.6.200.0070.06018.08
5.6.190.0070.09720.46
5.6.180.3170.04720.62
5.6.170.0430.06020.41
5.6.160.0130.05020.61
5.6.150.0070.07718.12
5.6.140.0130.03318.12
5.6.130.0070.08018.18
5.6.120.0070.04721.05
5.6.110.0070.08020.97
5.6.100.0100.04720.95
5.6.90.0070.08020.96
5.6.80.0030.08720.38
5.6.70.0270.07720.38
5.5.350.0070.08320.32
5.5.340.0100.07017.98
5.5.330.0030.09020.21
5.5.320.0300.07320.26
5.5.310.0300.05320.25
5.5.300.0000.04317.97
5.5.290.0130.06317.98
5.5.280.0070.08720.87
5.5.270.0000.05020.86
5.5.260.0100.07320.79
5.5.250.0130.07720.61
5.5.240.0030.08020.07
5.4.450.0870.05319.32
5.4.440.0970.04719.32
5.4.430.0770.06319.47
5.4.420.0830.05719.46
5.4.410.0770.06018.97
5.4.400.1270.05718.73
5.4.390.1030.05318.72
5.4.380.0330.05718.70
5.4.370.0170.06718.65
5.4.360.0300.05018.72
5.4.350.0170.05718.59
5.4.340.0330.05018.47
5.4.320.0070.04012.46
5.4.310.0070.04212.45
5.4.300.0050.03812.45
5.4.290.0050.04512.45
5.4.280.0090.03412.35
5.4.270.0040.03812.35
5.4.260.0130.04718.88
5.4.250.0030.06018.98
5.4.240.0070.05318.92
5.4.230.0030.06318.89
5.4.220.0230.05718.89
5.4.210.0070.05718.73
5.4.200.0070.05318.70
5.4.190.0200.06018.77
5.4.180.0030.05718.79
5.4.170.0230.05718.87
5.4.160.0130.06318.83
5.4.150.0100.07718.72
5.4.140.0070.05016.51
5.4.130.0000.07016.48
5.4.120.0100.05716.53
5.4.110.0130.04716.39
5.4.100.0100.04716.45
5.4.90.0170.04016.20
5.4.80.0130.06316.49
5.4.70.0130.04716.20
5.4.60.0030.05316.35
5.4.50.0070.06316.50
5.4.40.0000.06016.52
5.4.30.0100.05016.26
5.4.20.0100.05016.40
5.4.10.0170.06716.48
5.4.00.0070.05315.68
5.3.290.0060.03912.80
5.3.280.0230.05714.60
5.3.270.0200.05014.61
5.3.260.0070.05714.61
5.3.250.0070.05714.61
5.3.240.0170.06014.61
5.3.230.0070.06014.36
5.3.220.0130.05314.72
5.3.210.0030.06014.44
5.3.200.0070.06314.50
5.3.190.0100.07014.45
5.3.180.0130.05014.56
5.3.170.0170.06314.59
5.3.160.0070.05314.48
5.3.150.0070.05714.58
5.3.140.0100.05314.70
5.3.130.0000.08314.56
5.3.120.0230.05314.55
5.3.110.0030.06014.43
5.3.100.0100.06314.03
5.3.90.0030.05313.88
5.3.80.0130.05013.90
5.3.70.0000.05314.06
5.3.60.0100.04713.90
5.3.50.0070.06714.00
5.3.40.0030.06013.79
5.3.30.0100.05014.00
5.3.20.0070.04713.57
5.3.10.0070.05313.37
5.3.00.0070.05713.64
5.2.170.0100.05711.25
5.2.160.0070.05011.15
5.2.150.0070.05011.05
5.2.140.0030.04710.89
5.2.130.0030.04311.13
5.2.120.0030.05311.11
5.2.110.0130.04311.03
5.2.100.0070.03711.20
5.2.90.0000.05311.11
5.2.80.0000.06011.09
5.2.70.0030.06010.85
5.2.60.0030.05711.06
5.2.50.0130.04711.03
5.2.40.0030.05010.88
5.2.30.0000.05711.13
5.2.20.0000.04710.87
5.2.10.0100.03311.03
5.2.00.0000.05710.80
5.1.60.0000.0539.93
5.1.50.0100.0379.93
5.1.40.0100.05010.16
5.1.30.0000.04010.49
5.1.20.0070.04710.35
5.1.10.0000.05310.13
5.1.00.0130.04010.16
5.0.50.0070.0278.77
5.0.40.0130.0378.59
5.0.30.0130.0338.45
5.0.20.0170.0238.42
5.0.10.0070.0338.00
5.0.00.0030.0408.11
4.4.90.0000.0337.27
4.4.80.0030.0307.27
4.4.70.0070.0177.27
4.4.60.0000.0277.27
4.4.50.0030.0207.27
4.4.40.0030.0407.27
4.4.30.0030.0237.27
4.4.20.0030.0377.27
4.4.10.0100.0137.27
4.4.00.0030.0437.27
4.3.110.0030.0277.27
4.3.100.0000.0307.27
4.3.90.0000.0237.27
4.3.80.0030.0337.27
4.3.70.0000.0277.27
4.3.60.0030.0207.27
4.3.50.0000.0277.27
4.3.40.0030.0337.27
4.3.30.0070.0237.27
4.3.20.0000.0237.27
4.3.10.0070.0207.27
4.3.00.0070.0276.76

preferences:
35.82 ms | 401 KiB | 5 Q