3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cat2 = [ 'id' => 85, 'name' => 'a' ]; echo '<td><a href="#">Edit</a> | <a href="javascript:delpost(\'' . $cat2['id'] . '\',\'' . $cat2['name'] . '\')">Delete</a></td>';

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.4.120.0110.01023.81
8.4.110.0090.00418.66
8.4.100.0130.00718.68
8.4.90.0060.00520.38
8.4.80.0040.00418.55
8.4.70.0090.00817.82
8.4.60.0050.00618.70
8.4.50.0100.00917.71
8.4.40.0140.00717.65
8.4.30.0080.00817.70
8.4.20.0070.01317.83
8.4.10.0170.00319.38
8.3.250.0120.00618.62
8.3.240.0090.01117.23
8.3.230.0080.00916.63
8.3.220.0090.01018.77
8.3.210.0100.00816.85
8.3.200.0030.00516.73
8.3.190.0100.00817.20
8.3.180.0120.00616.46
8.3.170.0080.01119.04
8.3.160.0180.00018.55
8.3.150.0120.00620.74
8.3.140.0060.00316.48
8.3.130.0030.00618.29
8.3.120.0040.00418.95
8.3.110.0030.00620.94
8.3.100.0100.00016.59
8.3.90.0150.00316.38
8.3.80.0090.00318.18
8.3.70.0100.01016.50
8.3.60.0130.00616.63
8.3.50.0110.00522.08
8.3.40.0000.01418.70
8.3.30.0110.00318.50
8.3.20.0000.00721.85
8.3.10.0040.00422.09
8.3.00.0040.00420.84
8.2.290.0110.01022.07
8.2.280.0140.00618.47
8.2.270.0130.00717.10
8.2.260.0120.00320.11
8.2.250.0030.00718.20
8.2.240.0120.00619.01
8.2.230.0080.00022.58
8.2.220.0090.00924.06
8.2.210.0110.00426.77
8.2.200.0090.00016.38
8.2.190.0100.01016.58
8.2.180.0060.00818.33
8.2.170.0110.00722.96
8.2.160.0100.00720.47
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00718.09
8.2.120.0000.00826.35
8.2.110.0100.00022.13
8.2.100.0070.00717.78
8.2.90.0000.00817.84
8.2.80.0040.00417.75
8.2.70.0050.00317.63
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0050.00318.19
8.2.30.0000.00718.00
8.2.20.0000.00718.23
8.2.10.0000.00818.05
8.2.00.0000.00717.55
8.1.330.0090.01021.93
8.1.320.0100.00916.25
8.1.310.0000.01416.86
8.1.300.0060.00920.22
8.1.290.0040.00418.88
8.1.280.0100.01025.92
8.1.270.0070.00023.96
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00023.92
8.1.230.0070.00420.84
8.1.220.0000.00917.74
8.1.210.0080.00018.89
8.1.200.0060.00317.23
8.1.190.0080.00017.23
8.1.180.0060.00319.19
8.1.170.0080.00018.59
8.1.160.0070.00318.87
8.1.150.0030.00320.25
8.1.140.0000.00719.61
8.1.130.0030.00319.01
8.1.120.0000.00717.49
8.1.110.0040.00417.49
8.1.100.0050.00317.49
8.1.90.0020.00517.48
8.1.80.0040.00417.47
8.1.70.0070.00017.34
8.1.60.0000.00917.65
8.1.50.0030.00517.47
8.1.40.0000.00817.43
8.1.30.0050.00317.54
8.1.20.0050.00317.64
8.1.10.0030.00617.53
8.1.00.0060.00317.52
8.0.300.0070.00020.02
8.0.290.0000.00716.63
8.0.280.0040.00418.50
8.0.270.0030.00316.68
8.0.260.0000.00617.30
8.0.250.0040.00417.00
8.0.240.0000.00716.83
8.0.230.0030.00316.88
8.0.220.0080.00016.84
8.0.210.0000.00716.77
8.0.200.0030.00316.90
8.0.190.0000.00716.93
8.0.180.0050.00316.80
8.0.170.0000.00816.82
8.0.160.0000.00816.86
8.0.150.0060.00316.89
8.0.140.0000.00816.82
8.0.130.0030.00313.31
8.0.120.0040.00416.68
8.0.110.0030.00316.99
8.0.100.0000.00717.00
8.0.90.0000.00716.81
8.0.80.0110.01116.90
8.0.70.0000.00716.84
8.0.60.0000.00716.83
8.0.50.0040.00416.71
8.0.30.0060.01116.98
8.0.20.0140.00617.40
8.0.10.0030.00516.75
8.0.00.0070.01016.77
7.4.330.0020.00215.55
7.4.320.0060.00016.60
7.4.300.0030.00316.50
7.4.290.0040.00416.59
7.4.280.0000.00816.57
7.4.270.0030.00316.49
7.4.260.0030.00316.59
7.4.250.0040.00416.45
7.4.240.0070.00016.52
7.4.230.0000.00716.27
7.4.220.0150.00616.55
7.4.210.0090.00616.51
7.4.200.0030.00316.50
7.4.160.0100.00616.53
7.4.150.0100.00717.40
7.4.140.0130.00617.86
7.4.130.0110.00716.44
7.4.120.0140.00516.43
7.4.110.0160.00316.34
7.4.100.0120.00916.50
7.4.90.0140.00316.37
7.4.80.0090.01219.39
7.4.70.0120.00616.58
7.4.60.0100.01016.55
7.4.50.0110.00416.45
7.4.40.0000.01816.62
7.4.30.0130.01016.73
7.4.00.0100.00614.89
7.3.330.0000.00513.02
7.3.320.0000.00613.10
7.3.310.0030.00316.09
7.3.300.0030.00316.30
7.3.290.0090.00716.15
7.3.280.0090.00916.21
7.3.270.0070.01717.40
7.3.260.0110.01016.21
7.3.250.0070.00916.38
7.3.240.0090.00816.34
7.3.230.0110.00616.65
7.3.210.0130.00316.48
7.3.200.0060.00916.39
7.3.190.0060.01116.20
7.3.180.0060.00916.28
7.3.170.0080.00816.23
7.3.160.0060.01016.32
7.3.120.0040.01814.77
7.3.110.0140.00714.61
7.3.100.0090.00614.87
7.3.90.0070.01014.89
7.3.80.0070.01014.75
7.3.70.0000.01714.72
7.3.60.0060.01214.83
7.3.50.0060.00914.33
7.3.40.0070.01014.69
7.3.30.0060.00614.82
7.3.20.0090.00616.56
7.3.10.0060.00916.80
7.3.00.0070.00716.31
7.2.330.0060.01216.74
7.2.320.0110.00716.69
7.2.310.0090.00816.59
7.2.300.0120.00616.60
7.2.290.0030.01716.43
7.2.250.0100.00715.02
7.2.240.0060.01015.24
7.2.230.0030.01215.19
7.2.220.0060.00815.14
7.2.210.0030.01214.89
7.2.200.0070.01015.05
7.2.190.0000.01614.91
7.2.180.0000.01114.96
7.2.170.0120.00615.01
7.2.60.0060.01016.92
7.2.00.0100.00319.58
7.1.330.0100.00315.71
7.1.320.0090.00315.84
7.1.310.0030.01315.84
7.1.300.0030.01015.45
7.1.290.0090.00015.71
7.1.280.0070.00715.52
7.1.270.0030.01015.94
7.1.260.0090.00615.48
7.1.200.0000.00915.48
7.1.100.0060.00918.10
7.1.70.0110.00017.11
7.1.60.0050.00517.18
7.1.50.0030.01616.89
7.1.20.0100.07040.32
7.1.10.0130.05322.15
7.1.00.0070.06722.38
7.0.200.0100.00316.82
7.0.160.0100.05321.90
7.0.150.0030.06021.89
7.0.140.0100.05321.95
7.0.130.0100.05321.90
7.0.120.0100.05021.82
7.0.110.0000.06321.99
7.0.100.0000.06021.89
7.0.90.0070.05721.83
7.0.80.0100.05721.85
7.0.70.0100.05321.82
7.0.60.0170.05021.91
7.0.50.0000.07021.88
7.0.40.0100.05721.77
7.0.30.0130.06021.98
7.0.20.0170.04321.92
7.0.10.0000.06021.93
7.0.00.0030.08021.93

preferences:
132.32 ms | 403 KiB | 5 Q