3v4l.org

run code in 300+ PHP versions simultaneously
<?php output_add_rewrite_var('param_name', 'param_value'); ini_set('url_rewriter.tags', 'a=href'); echo '"<a href=\\u0022javascript:someFunc(\'some arg\')\\u022>link 2</a>"';

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.0180.00716.38
8.3.50.0110.00416.37
8.3.40.0070.00718.89
8.3.30.0140.00318.71
8.3.20.0030.00519.02
8.3.10.0000.00721.87
8.3.00.0080.00023.71
8.2.180.0130.01016.38
8.2.170.0000.01622.96
8.2.160.0070.00718.91
8.2.150.0050.00325.66
8.2.140.0000.00824.66
8.2.130.0070.00020.38
8.2.120.0000.00826.35
8.2.110.0000.01021.00
8.2.100.0090.00317.41
8.2.90.0040.00417.84
8.2.80.0040.00417.97
8.2.70.0090.00017.50
8.2.60.0090.00017.80
8.2.50.0090.00018.07
8.2.40.0000.01118.03
8.2.30.0000.00717.99
8.2.20.0000.00718.00
8.2.10.0000.00719.31
8.2.00.0040.00419.29
8.1.280.0080.00825.92
8.1.270.0070.00022.02
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.42
8.1.230.0080.00420.91
8.1.220.0000.00817.74
8.1.210.0030.00520.66
8.1.200.0000.01017.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0030.00318.80
8.1.150.0000.00718.68
8.1.140.0080.00017.71
8.1.130.0030.00518.85
8.1.120.0070.00017.39
8.1.110.0040.00417.31
8.1.100.0040.00417.23
8.1.90.0040.00417.36
8.1.80.0000.00817.34
8.1.70.0000.00717.35
8.1.60.0090.00317.46
8.1.50.0080.00017.41
8.1.40.0040.00417.25
8.1.30.0030.00517.50
8.1.20.0000.00817.53
8.1.10.0000.00817.41
8.1.00.0030.00517.37
8.0.300.0040.00419.86
8.0.290.0040.00416.63
8.0.280.0040.00418.31
8.0.270.0040.00417.11
8.0.260.0060.00317.14
8.0.250.0000.00716.70
8.0.240.0030.00316.81
8.0.230.0070.00016.89
8.0.220.0000.00616.78
8.0.210.0030.00316.71
8.0.200.0030.00316.77
8.0.190.0080.00016.72
8.0.180.0040.00416.76
8.0.170.0030.00616.82
8.0.160.0040.00416.80
8.0.150.0000.00716.80
8.0.140.0030.00316.59
8.0.130.0000.00513.15
8.0.120.0040.00416.70
8.0.110.0000.00716.75
8.0.100.0040.00416.59
8.0.90.0040.00416.66
8.0.80.0110.00516.83
8.0.70.0070.00016.83
8.0.60.0000.00716.83
8.0.50.0070.00016.66
8.0.30.0080.01216.99
8.0.20.0120.00617.40
8.0.10.0000.00816.71
8.0.00.0140.00516.60
7.4.330.0000.00515.55
7.4.320.0030.00316.39
7.4.300.0060.00016.48
7.4.290.0040.00416.47
7.4.280.0000.00716.41
7.4.270.0050.00516.55
7.4.260.0030.00316.37
7.4.250.0070.00016.50
7.4.240.0000.00816.54
7.4.230.0030.00316.45
7.4.220.0060.00316.50
7.4.210.0110.00316.48
7.4.200.0030.00316.54
7.4.160.0120.00616.46
7.4.140.0100.00717.86
7.4.130.0110.00716.50
7.4.120.0090.01116.36
7.4.110.0100.01016.38
7.4.100.0070.01016.24
7.4.90.0100.00716.53
7.4.80.0100.00619.39
7.4.70.0090.01316.41
7.4.60.0180.00316.41
7.4.50.0030.01416.57
7.4.40.0100.00716.38
7.4.00.0060.00614.68
7.3.330.0050.00012.97
7.3.320.0080.00013.01
7.3.310.0040.00416.07
7.3.300.0070.00016.16
7.3.290.0000.00716.13
7.3.280.0120.00616.11
7.3.260.0110.00816.28
7.3.240.0120.00716.25
7.3.230.0100.00716.25
7.3.210.0140.00316.04
7.3.200.0100.01316.26
7.3.190.0090.00616.20
7.3.180.0050.01116.43
7.3.170.0150.00616.29
7.3.160.0030.01116.11
7.2.330.0060.01416.14
7.2.320.0130.00916.55
7.2.310.0100.00916.51
7.2.300.0060.00916.63
7.2.290.0180.00316.67
7.2.80.0540.01014.56
7.2.70.0440.01314.93
7.2.60.0490.01214.79
7.2.50.0540.01414.81
7.2.40.0410.01514.86
7.2.30.0480.00914.67
7.2.20.0680.01314.75
7.2.10.0470.01014.62
7.2.00.0560.01314.95
7.1.200.0060.00615.80
7.1.190.0790.00713.71
7.1.180.0370.01313.68
7.1.170.0550.00413.45
7.1.160.1150.00313.65
7.1.150.0550.01313.89
7.1.140.0390.01313.81
7.1.130.0600.00013.69
7.1.120.0530.00613.73
7.1.110.0560.00013.75
7.1.100.0560.00313.80
7.1.90.0600.00613.71
7.1.80.0680.01013.75
7.1.70.0600.00613.71
7.1.60.0870.00431.86
7.1.50.0810.01331.78
7.1.40.0880.01331.88
7.1.30.0790.01331.67
7.1.20.0980.00331.66
7.1.10.0820.00613.20
7.1.00.0800.01013.44

preferences:
65.05 ms | 400 KiB | 5 Q