3v4l.org

run code in 300+ PHP versions simultaneously
<?php $link = "http://itunes.apple.com/se/app/animoto-video-slideshows/id459248037?mt=8"; preg_match("/id([0-9]*)/", $link, $matches1); var_dump($matches1); preg_match("/id([0-9]+)/", $link, $matches2); var_dump($matches2);

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.00016.63
8.3.50.0140.00522.13
8.3.40.0160.00618.73
8.3.30.0040.01118.96
8.3.20.0070.00020.17
8.3.10.0080.00021.76
8.3.00.0080.00019.38
8.2.180.0090.00618.43
8.2.170.0030.01022.96
8.2.160.0040.01420.29
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00422.18
8.2.110.0100.00022.31
8.2.100.0080.00417.84
8.2.90.0060.00317.84
8.2.80.0040.00417.97
8.2.70.0030.00517.63
8.2.60.0000.00817.91
8.2.50.0040.00418.07
8.2.40.0000.00820.07
8.2.30.0040.00418.09
8.2.20.0000.00717.76
8.2.10.0040.00418.09
8.2.00.0030.00617.82
8.1.280.0060.01325.92
8.1.270.0090.00023.85
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0040.00422.32
8.1.230.0060.00620.85
8.1.220.0030.00617.74
8.1.210.0040.00418.96
8.1.200.0000.00917.34
8.1.190.0000.00817.40
8.1.180.0060.00319.01
8.1.170.0040.00418.71
8.1.160.0050.00221.89
8.1.150.0000.00718.68
8.1.140.0040.00417.48
8.1.130.0030.00317.89
8.1.120.0050.00317.51
8.1.110.0070.00317.59
8.1.100.0000.01017.44
8.1.90.0030.00617.56
8.1.80.0030.00317.56
8.1.70.0000.00717.40
8.1.60.0040.00417.65
8.1.50.0040.00417.62
8.1.40.0030.00517.59
8.1.30.0050.00317.66
8.1.20.0040.00417.60
8.1.10.0000.00817.53
8.1.00.0000.00817.61
8.0.300.0000.00819.90
8.0.290.0040.00417.18
8.0.280.0040.00418.43
8.0.270.0050.00317.22
8.0.260.0030.00317.21
8.0.250.0030.00516.91
8.0.240.0040.00417.06
8.0.230.0070.00017.03
8.0.220.0040.00416.98
8.0.210.0040.00416.99
8.0.200.0030.00317.01
8.0.190.0030.00516.95
8.0.180.0050.00317.01
8.0.170.0040.00417.06
8.0.160.0000.00716.93
8.0.150.0040.00417.04
8.0.140.0070.00016.96
8.0.130.0000.00513.42
8.0.120.0000.00816.93
8.0.110.0000.00716.93
8.0.100.0040.00416.96
8.0.90.0000.00817.04
8.0.80.0100.01016.96
8.0.70.0070.00016.88
8.0.60.0040.00416.87
8.0.50.0000.00716.94
8.0.30.0100.00817.13
8.0.20.0110.00817.40
8.0.10.0070.00016.96
8.0.00.0120.00916.87
7.4.330.0000.00615.00
7.4.320.0070.00016.63
7.4.300.0060.00016.57
7.4.290.0060.00316.70
7.4.280.0030.00316.68
7.4.270.0070.00016.68
7.4.260.0070.00016.64
7.4.250.0040.00416.72
7.4.240.0020.00516.75
7.4.230.0000.00716.79
7.4.220.0110.00716.79
7.4.210.0070.00716.75
7.4.200.0070.00016.64
7.4.190.0000.00716.56
7.4.160.0060.01216.62
7.4.150.0060.01217.40
7.4.140.0090.00917.86
7.4.130.0070.01016.73
7.4.120.0090.00716.62
7.4.110.0110.01116.66
7.4.100.0120.00616.77
7.4.90.0060.01216.73
7.4.80.0060.01319.39
7.4.70.0110.00716.67
7.4.60.0160.00016.83
7.4.50.0040.00416.45
7.4.40.0110.00722.77
7.4.30.0160.00016.70
7.4.00.0080.01015.14
7.3.330.0020.00413.12
7.3.320.0000.00613.07
7.3.310.0000.00916.14
7.3.300.0000.00616.23
7.3.290.0060.00916.29
7.3.280.0050.01216.28
7.3.270.0110.00717.40
7.3.260.0170.00316.57
7.3.250.0160.00516.33
7.3.240.0080.01116.24
7.3.230.0100.01016.39
7.3.210.0050.01116.34
7.3.200.0090.00919.39
7.3.190.0100.01016.46
7.3.180.0060.00916.57
7.3.170.0140.00616.40
7.3.160.0060.01516.32
7.3.120.0050.00914.81
7.3.110.0070.01114.84
7.3.100.0060.01015.09
7.3.90.0000.01014.64
7.3.80.0030.01315.00
7.3.70.0050.00514.73
7.3.60.0030.01314.94
7.3.50.0030.00614.67
7.3.40.0100.00314.71
7.3.30.0040.00714.93
7.3.20.0100.00316.55
7.3.10.0070.00416.89
7.3.00.0040.01016.60
7.2.330.0150.00816.52
7.2.320.0130.01016.62
7.2.310.0150.00716.48
7.2.300.0090.00916.67
7.2.290.0140.00316.62
7.2.250.0100.01015.06
7.2.240.0060.01515.04
7.2.230.0070.00714.85
7.2.220.0030.00815.09
7.2.210.0030.01215.10
7.2.200.0040.00814.97
7.2.190.0070.01114.89
7.2.180.0060.00614.90
7.2.170.0040.01215.11
7.2.00.0030.00619.68
7.1.330.0080.00515.63
7.1.320.0030.00615.62
7.1.310.0060.00915.86
7.1.300.0000.01615.99
7.1.290.0030.00716.00
7.1.280.0090.00615.97
7.1.270.0030.01015.72
7.1.260.0030.00715.84
7.1.200.0100.00015.91
7.1.100.0040.00718.41
7.1.70.0000.00717.34
7.1.60.0070.01819.46
7.1.50.0070.01716.99
7.1.00.0070.07322.37
7.0.200.0140.00714.83
7.0.140.0130.06321.95
7.0.60.0170.07720.03
7.0.50.0070.08017.85
7.0.40.0100.08020.22
7.0.30.0170.04320.00
7.0.20.0200.04020.13
7.0.10.0200.08720.19
7.0.00.0070.06019.98
5.6.280.0100.06720.80
5.6.210.0100.07320.64
5.6.200.0130.08018.09
5.6.190.0070.08320.35
5.6.180.0300.07320.67
5.6.170.0300.05720.48
5.6.160.0070.08720.70
5.6.150.0100.05318.18
5.6.140.0000.07318.21
5.6.130.0100.07018.09
5.6.120.0070.05321.02
5.6.110.0070.04321.10
5.6.100.0070.04720.98
5.6.90.0100.06720.95
5.6.80.0130.05320.50
5.6.70.2630.03720.27
5.5.350.0030.04020.29
5.5.340.0100.07317.98
5.5.330.0100.04320.21
5.5.320.0300.04020.27
5.5.310.0200.06320.29
5.5.300.0070.07718.02
5.5.290.0100.08017.92
5.5.280.0070.07020.88
5.5.270.0070.04020.67
5.5.260.0200.04720.71
5.5.250.0130.08020.78
5.5.240.0030.07720.03
5.4.450.0970.06019.47
5.4.440.0870.08019.09
5.4.430.0070.07319.59
5.4.420.0830.05719.56
5.4.410.0130.06019.14
5.4.400.1000.07018.77
5.4.390.0770.05019.14
5.4.380.0470.04718.57
5.4.370.0500.07718.77
5.4.360.0300.06018.59
5.4.350.0370.05018.63
5.4.340.0370.05318.68
5.4.320.0040.05012.45
5.4.310.0070.04312.45
5.4.300.0080.04112.45
5.4.290.0310.08912.44
5.4.280.0160.09612.34
5.4.270.0180.06012.34
5.4.260.0060.06312.34
5.4.250.0140.08412.34
5.4.240.0080.04812.34
5.4.230.0050.05312.33
5.4.220.0060.04912.33
5.4.210.0060.06812.33
5.4.200.0140.05012.33
5.4.190.0140.05012.33
5.4.180.0090.03912.32
5.4.170.0190.10012.34
5.4.160.0360.09812.34
5.4.150.0210.07512.33
5.4.140.0100.10212.01
5.4.130.0110.05112.00
5.4.120.0090.05311.96
5.4.110.0140.05111.95
5.4.100.0140.06611.96
5.4.90.0100.05311.96
5.4.80.0080.03911.96
5.4.70.0040.03911.95
5.4.60.0070.03411.95
5.4.50.0120.02911.95
5.4.40.0080.04111.94
5.4.30.0070.03511.94
5.4.20.0120.04211.94
5.4.10.0090.04711.94
5.4.00.0110.05211.43
5.3.290.0100.03712.80
5.3.280.0060.04812.71
5.3.270.0120.07312.72
5.3.260.0120.06712.72
5.3.250.0180.06312.72
5.3.240.0090.05312.72
5.3.230.0110.06912.71
5.3.220.0060.05812.68
5.3.210.0120.06912.68
5.3.200.0090.05312.68
5.3.190.0110.05012.68
5.3.180.0150.05112.67
5.3.170.0130.04712.67
5.3.160.0080.04212.68
5.3.150.0070.07712.67
5.3.140.0100.05512.66
5.3.130.0120.04112.66
5.3.120.0070.04012.66
5.3.110.0030.04312.66
5.3.100.0090.03412.12
5.3.90.0130.03712.09
5.3.80.0110.04512.08
5.3.70.0120.04312.07
5.3.60.0110.04612.07
5.3.50.0080.04912.00
5.3.40.0110.04912.00
5.3.30.0040.05611.96
5.3.20.0130.06011.73
5.3.10.0060.05211.70
5.3.00.0090.06911.69
5.2.170.0150.0519.19
5.2.160.0220.0729.19
5.2.150.0080.0379.19
5.2.140.0030.0379.18
5.2.130.0030.0359.15
5.2.120.0050.0379.15
5.2.110.0080.0369.16
5.2.100.0150.0459.15
5.2.90.0100.0379.15
5.2.80.0130.0889.14
5.2.70.0080.0419.15
5.2.60.0040.0449.10
5.2.50.0010.0479.07
5.2.40.0060.0399.05
5.2.30.0080.0409.03
5.2.20.0050.0419.02
5.2.10.0130.0568.92
5.2.00.0080.0538.78
5.1.60.0040.0378.06
5.1.50.0060.0348.05
5.1.40.0050.0368.04
5.1.30.0050.0388.39
5.1.20.0050.0398.41
5.1.10.0050.0348.13
5.1.00.0080.0248.14
5.0.50.0050.0286.61
5.0.40.0070.0246.48
5.0.30.0060.0456.29
5.0.20.0080.0256.26
5.0.10.0040.0276.23
5.0.00.0030.0376.23
4.4.90.0040.0214.78
4.4.80.0040.0194.75
4.4.70.0040.0234.75
4.4.60.0120.0544.75
4.4.50.0050.0154.77
4.4.40.0100.0504.71
4.4.30.0040.0244.76
4.4.20.0070.0344.84
4.4.10.0070.0224.85
4.4.00.0030.0454.76
4.3.110.0060.0194.67
4.3.100.0070.0364.67
4.3.90.0060.0364.64
4.3.80.0110.0484.58
4.3.70.0050.0194.63
4.3.60.0040.0214.63
4.3.50.0020.0214.63
4.3.40.0010.0274.54
4.3.30.0020.0163.28
4.3.20.0020.0163.26
4.3.10.0040.0143.22
4.3.00.0200.03310.54

preferences:
38.65 ms | 401 KiB | 5 Q