3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = "onclick=\"double_list_move(\$('{$selectableName}'), \$('{$selectedName}')); 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.0150.00016.75
8.3.50.0280.00521.92
8.3.40.0040.01118.78
8.3.30.0100.01018.77
8.3.20.0030.00620.30
8.3.10.0040.00423.65
8.3.00.0050.00319.50
8.2.180.0070.01418.36
8.2.170.0040.01122.96
8.2.160.0070.00720.45
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0060.00617.61
8.2.120.0080.00026.35
8.2.110.0060.01522.19
8.2.100.0060.00618.04
8.2.90.0080.00019.25
8.2.80.0030.00517.97
8.2.70.0000.00817.75
8.2.60.0000.00818.05
8.2.50.0030.00618.07
8.2.40.0050.00319.20
8.2.30.0070.00020.72
8.2.20.0040.00417.82
8.2.10.0000.00818.11
8.2.00.0080.00018.02
8.1.280.0070.01425.92
8.1.270.0030.00622.19
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0040.00422.60
8.1.230.0080.00417.77
8.1.220.0080.00017.79
8.1.210.0050.00518.77
8.1.200.0060.00317.35
8.1.190.0000.00817.38
8.1.180.0050.00318.10
8.1.170.0040.00718.51
8.1.160.0000.00722.09
8.1.150.0020.00518.91
8.1.140.0000.00819.63
8.1.130.0040.00417.63
8.1.120.0040.00417.49
8.1.110.0070.00017.48
8.1.100.0050.00317.39
8.1.90.0040.00417.46
8.1.80.0030.00317.36
8.1.70.0080.00017.46
8.1.60.0080.00017.59
8.1.50.0030.00517.50
8.1.40.0060.00317.53
8.1.30.0000.00817.61
8.1.20.0050.00317.59
8.1.10.0000.00717.61
8.1.00.0040.00417.58
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.46
8.0.270.0050.00317.23
8.0.260.0000.00617.31
8.0.250.0000.00817.00
8.0.240.0000.00717.08
8.0.230.0040.00416.95
8.0.220.0000.00716.87
8.0.210.0000.00716.95
8.0.200.0030.00617.05
8.0.190.0000.00816.91
8.0.180.0070.00017.08
8.0.170.0000.00817.01
8.0.160.0030.00416.95
8.0.150.0030.00316.93
8.0.140.0000.00816.89
8.0.130.0000.00513.47
8.0.120.0030.00516.92
8.0.110.0080.00016.87
8.0.100.0040.00417.00
8.0.90.0000.00717.00
8.0.80.0060.00916.99
8.0.70.0020.00516.96
8.0.60.0030.00516.80
8.0.50.0000.00716.86
8.0.30.0090.01017.14
8.0.20.0120.00917.40
8.0.10.0000.00716.93
8.0.00.0110.00716.99
7.4.330.0050.00015.08
7.4.320.0030.00316.57
7.4.300.0000.00716.62
7.4.290.0030.00316.68
7.4.280.0000.01016.51
7.4.270.0030.00316.42
7.4.260.0080.00016.45
7.4.250.0040.00416.43
7.4.240.0040.00416.52
7.4.230.0000.00716.69
7.4.220.0100.00716.54
7.4.210.0060.01316.64
7.4.200.0000.00716.71
7.4.160.0060.00916.52
7.4.150.0070.01317.40
7.4.140.0130.00717.86
7.4.130.0140.01016.55
7.4.120.0100.00816.54
7.4.110.0040.01616.61
7.4.100.0160.00716.63
7.4.90.0180.00616.59
7.4.80.0070.01119.39
7.4.70.0410.02316.65
7.4.60.0060.01016.50
7.4.50.0080.00016.50
7.4.40.0090.00816.53
7.4.30.0080.01516.66
7.4.00.0110.00415.30
7.3.330.0000.00513.18
7.3.320.0050.00013.16
7.3.310.0000.00716.43
7.3.300.0070.00016.43
7.3.290.0110.00916.38
7.3.280.0080.00916.44
7.3.270.0100.00717.40
7.3.260.0130.00316.41
7.3.240.0110.00616.40
7.3.230.0060.01216.66
7.3.210.0060.00916.52
7.3.200.0030.01316.41
7.3.190.0350.00516.56
7.3.180.0060.00916.32
7.3.170.0150.02616.68
7.3.160.0090.00616.65
7.2.330.0100.01116.81
7.2.320.0100.01016.73
7.2.310.0080.00916.61
7.2.300.0120.00916.68
7.2.290.0140.00616.75
7.2.60.0060.00916.95
7.2.00.0090.00919.10
7.1.200.0070.00715.90
7.1.100.0000.00818.24
7.1.70.0030.01417.20
7.1.60.0060.01919.48
7.1.50.0080.00416.96
7.1.00.0030.07322.37
7.0.200.0180.00714.63
7.0.60.0070.05721.72
7.0.50.0130.07317.80
7.0.40.0100.04019.90
7.0.30.0370.07020.21
7.0.20.0230.08320.30
7.0.10.0030.09020.05
7.0.00.0070.06320.32
5.6.280.0070.07020.86
5.6.210.0100.06320.68
5.6.200.0000.07718.23
5.6.190.0030.08020.49
5.6.180.0370.07320.67
5.6.170.0230.06020.50
5.6.160.0070.08320.61
5.6.150.0100.07018.12
5.6.140.0070.08318.22
5.6.130.0100.08018.08
5.6.120.0100.08020.98
5.6.110.0070.07020.90
5.6.100.0100.07021.11
5.6.90.0170.07720.98
5.6.80.0070.04320.37
5.5.350.0130.07720.32
5.5.340.0270.04018.02
5.5.330.0400.03320.28
5.5.320.0300.08020.51
5.5.310.0300.04020.43
5.5.300.0100.05018.02
5.5.290.0030.07017.98
5.5.280.0070.08320.96
5.5.270.0070.03720.75
5.5.260.0170.07320.67
5.5.250.0030.04020.54
5.5.240.3800.04720.11

preferences:
39.28 ms | 401 KiB | 5 Q