3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = "onclick=\"double_list_move(\$('one'), \$('two')); return false;\""; if (!isset($options['alt'])) { $path_pos = strrpos($source, '/'); $dot_pos = strrpos($source, '.'); $begin = $path_pos ? $path_pos + 1 : 0; $nb_str = ($dot_pos ? $dot_pos : strlen($source)) - $begin; $options['alt'] = ucfirst(substr($source, $begin, $nb_str)); } echo $options; ?>

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.0140.00716.50
8.3.50.0090.00921.99
8.3.40.0040.01119.02
8.3.30.0120.00318.79
8.3.20.0090.00020.21
8.3.10.0040.00423.64
8.3.00.0090.00019.41
8.2.180.0120.00618.44
8.2.170.0070.00722.96
8.2.160.0070.00720.37
8.2.150.0080.00024.18
8.2.140.0040.01124.66
8.2.130.0060.00617.75
8.2.120.0050.00326.35
8.2.110.0040.00421.03
8.2.100.0140.00318.01
8.2.90.0060.00319.22
8.2.80.0050.00317.97
8.2.70.0080.00017.75
8.2.60.0030.00517.91
8.2.50.0040.00418.07
8.2.40.0040.00419.53
8.2.30.0000.00720.58
8.2.20.0060.00317.80
8.2.10.0000.00818.05
8.2.00.0050.00218.21
8.1.280.0180.00325.92
8.1.270.0050.00322.13
8.1.260.0040.00428.09
8.1.250.0060.00328.09
8.1.240.0090.00022.59
8.1.230.0060.00617.53
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0100.00017.48
8.1.190.0090.00017.25
8.1.180.0040.00418.10
8.1.170.0070.00320.42
8.1.160.0040.00421.89
8.1.150.0040.00418.93
8.1.140.0050.00319.50
8.1.130.0000.00717.82
8.1.120.0000.00717.49
8.1.110.0040.00417.36
8.1.100.0000.00817.48
8.1.90.0000.00717.40
8.1.80.0000.00717.43
8.1.70.0040.00417.38
8.1.60.0000.00817.62
8.1.50.0080.00017.51
8.1.40.0080.00017.55
8.1.30.0060.00317.65
8.1.20.0040.00417.63
8.1.10.0000.00817.50
8.1.00.0050.00317.53
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0080.00018.41
8.0.270.0040.00416.81
8.0.260.0030.00517.28
8.0.250.0000.00717.04
8.0.240.0020.00516.98
8.0.230.0000.00717.04
8.0.220.0030.00316.85
8.0.210.0040.00417.00
8.0.200.0000.00717.04
8.0.190.0050.00317.05
8.0.180.0000.00716.92
8.0.170.0000.00817.01
8.0.160.0000.00716.88
8.0.150.0030.00316.75
8.0.140.0040.00416.91
8.0.130.0060.00013.43
8.0.120.0040.00416.84
8.0.110.0090.00016.89
8.0.100.0000.00716.75
8.0.90.0040.00416.87
8.0.80.0090.00917.00
8.0.70.0060.00316.82
8.0.60.0040.00416.80
8.0.50.0000.00716.92
8.0.30.0080.00916.87
8.0.20.0130.00917.40
8.0.10.0030.00317.09
8.0.00.0100.00816.64
7.4.330.0000.00515.10
7.4.320.0040.00416.53
7.4.300.0000.00616.66
7.4.290.0000.00716.52
7.4.280.0070.00016.50
7.4.270.0030.00316.60
7.4.260.0070.00016.57
7.4.250.0000.00816.49
7.4.240.0040.00316.55
7.4.230.0000.00816.42
7.4.220.0060.01216.55
7.4.210.0150.00516.48
7.4.200.0000.00716.68
7.4.160.0140.00716.39
7.4.150.0140.00417.40
7.4.140.0080.01017.86
7.4.130.0070.00916.54
7.4.120.0040.01216.45
7.4.110.0060.01916.48
7.4.100.0070.01116.52
7.4.90.0110.00716.55
7.4.80.0140.00419.39
7.4.70.0130.00316.48
7.4.60.0070.01016.54
7.4.50.0040.00416.27
7.4.40.0120.01216.57
7.4.30.0130.00916.52
7.4.00.0080.00814.98
7.3.330.0050.00013.30
7.3.320.0000.00513.30
7.3.310.0080.00016.30
7.3.300.0000.00716.35
7.3.290.0060.01016.41
7.3.280.0090.00716.42
7.3.270.0080.00817.40
7.3.260.0110.00716.28
7.3.250.0110.00916.50
7.3.240.0080.00916.49
7.3.230.0100.00716.39
7.3.210.0090.00916.54
7.3.200.0100.00616.51
7.3.190.0090.00916.58
7.3.180.0070.01416.62
7.3.170.0070.01316.59
7.3.160.0100.00716.59
7.3.120.0130.00314.70
7.3.110.0100.00714.77
7.3.100.0040.01115.08
7.3.90.0000.00914.72
7.3.80.0060.00914.89
7.3.70.0100.00314.96
7.3.60.0030.01014.60
7.3.50.0050.00514.75
7.3.40.0070.00714.77
7.3.30.0070.00414.99
7.3.20.0070.00716.73
7.3.10.0110.00516.84
7.3.00.0030.00916.78
7.2.330.0090.00916.57
7.2.320.0140.00816.51
7.2.310.0060.00916.50
7.2.300.0150.00716.54
7.2.290.0090.01116.67
7.2.240.0100.00715.25
7.2.230.0060.01015.01
7.2.220.0070.01115.22
7.2.210.0060.00914.97
7.2.200.0030.01315.04
7.2.190.0000.01714.82
7.2.180.0030.00815.16
7.2.170.0060.00915.13
7.2.160.0040.01114.88
7.2.150.0030.01016.68
7.2.140.0000.01116.99
7.2.130.0070.00516.95
7.2.120.0080.00616.95
7.2.110.0000.01116.81
7.2.100.0100.00516.95
7.2.90.0070.00816.94
7.2.80.0050.00716.85
7.2.70.0030.00916.96
7.2.60.0070.00617.03
7.2.50.0050.00816.96
7.2.40.0050.00416.76
7.2.30.0040.00717.01
7.2.20.0020.01017.02
7.2.10.0080.00716.79
7.2.00.0110.00417.71
7.1.330.0160.00315.82
7.1.320.0080.00015.89
7.1.310.0060.01015.75
7.1.300.0060.01015.73
7.1.290.0080.00415.62
7.1.280.0090.00315.64
7.1.270.0030.00915.83
7.1.260.0040.00415.65
7.1.250.0040.01215.92
7.1.200.0130.00315.93
7.1.100.0030.00917.96
7.1.70.0030.00717.10
7.1.60.0140.01019.48
7.1.50.0030.00916.96
7.1.00.0000.08022.32
7.0.200.2300.00314.36
7.0.60.0070.07019.94
7.0.50.0030.04317.77
7.0.40.0070.08720.29
7.0.30.0330.07720.04
7.0.20.0370.06320.30
7.0.10.0170.08020.16
7.0.00.0130.08320.19
5.6.280.0100.06021.06
5.6.210.0130.07720.52
5.6.200.0030.06018.12
5.6.190.0030.05020.45
5.6.180.0300.07320.45
5.6.170.0300.04020.50
5.6.160.0100.08320.61
5.6.150.0100.08018.18
5.6.140.0200.07018.11
5.6.130.0000.04318.21
5.6.120.0070.08721.01
5.6.110.0070.08320.98
5.6.100.0170.04320.98
5.6.90.0100.08021.09
5.6.80.0030.04020.36
5.5.350.3530.03720.38
5.5.340.0030.04318.02
5.5.330.0070.08320.12
5.5.320.0600.06720.21
5.5.310.0400.07320.28
5.5.300.0070.08017.94
5.5.290.0070.07717.93
5.5.280.0100.05720.88
5.5.270.0030.08720.78
5.5.260.0170.07020.85
5.5.250.0100.08020.54
5.5.240.0470.06020.18

preferences:
67.78 ms | 401 KiB | 5 Q