3v4l.org

run code in 300+ PHP versions simultaneously
<?php $images[] = "/cache/user-ErgL4WpHE4SGK7pc-2014-09-17_10-10-18-questionmark.png"; preg_match('/-([a-zA-Z0-9]*).png/', (string)current($images), $matches); var_dump($matches);

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.0040.01416.75
8.3.50.0100.00922.97
8.3.40.0110.00418.83
8.3.30.0070.00718.90
8.3.20.0080.00020.32
8.3.10.0040.00421.86
8.3.00.0040.00419.38
8.2.180.0040.01118.41
8.2.170.0150.00422.96
8.2.160.0090.00620.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00021.35
8.2.110.0030.00622.50
8.2.100.0040.00817.68
8.2.90.0040.00417.75
8.2.80.0000.01118.04
8.2.70.0040.00417.93
8.2.60.0060.00317.80
8.2.50.0000.00818.10
8.2.40.0030.00720.59
8.2.30.0040.00419.42
8.2.20.0040.00417.68
8.2.10.0070.00017.89
8.2.00.0080.00017.76
8.1.280.0140.00025.92
8.1.270.0080.00023.70
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0060.00323.94
8.1.230.0090.00618.92
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.48
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0040.00418.62
8.1.160.0070.00021.88
8.1.150.0050.00218.85
8.1.140.0050.00217.45
8.1.130.0040.00417.84
8.1.120.0040.00417.43
8.1.110.0070.00017.57
8.1.100.0000.00717.44
8.1.90.0000.00717.51
8.1.80.0040.00417.56
8.1.70.0040.00417.61
8.1.60.0040.00417.76
8.1.50.0040.00417.56
8.1.40.0050.00317.53
8.1.30.0080.00017.78
8.1.20.0000.00717.70
8.1.10.0040.00417.57
8.1.00.0000.00717.48
8.0.300.0000.00819.54
8.0.290.0000.00716.74
8.0.280.0030.00318.46
8.0.270.0030.00517.26
8.0.260.0030.00317.25
8.0.250.0030.00316.93
8.0.240.0030.00317.05
8.0.230.0040.00417.05
8.0.220.0000.00717.03
8.0.210.0000.00716.86
8.0.200.0030.00317.07
8.0.190.0090.00016.90
8.0.180.0070.00016.91
8.0.170.0040.00416.89
8.0.160.0030.00316.88
8.0.150.0000.00716.87
8.0.140.0050.00216.77
8.0.130.0030.00313.42
8.0.120.0050.00316.94
8.0.110.0040.00416.88
8.0.100.0000.00716.85
8.0.90.0040.00416.81
8.0.80.0070.01016.85
8.0.70.0040.00416.90
8.0.60.0040.00416.86
8.0.50.0070.00017.02
8.0.30.0140.00517.27
8.0.20.0090.01017.40
8.0.10.0050.00316.94
8.0.00.0140.00616.78
7.4.330.0060.00015.05
7.4.320.0030.00316.66
7.4.300.0060.00016.73
7.4.290.0080.00016.80
7.4.280.0080.00016.71
7.4.270.0030.00316.67
7.4.260.0040.00416.62
7.4.250.0000.00816.61
7.4.240.0070.00216.75
7.4.230.0030.00316.68
7.4.220.0110.01116.82
7.4.210.0070.00716.57
7.4.200.0000.00816.86
7.4.160.0100.00716.87
7.4.150.0090.00917.40
7.4.140.0070.01017.86
7.4.130.0070.01016.55
7.4.120.0080.00816.48
7.4.110.0110.00816.43
7.4.100.0080.01216.95
7.4.90.0100.00716.43
7.4.80.0140.00819.39
7.4.70.0060.01116.49
7.4.60.0090.01216.38
7.4.50.0000.00816.51
7.4.40.0060.01316.50
7.4.30.0060.00916.63
7.4.00.0110.00315.04
7.3.330.0000.00613.21
7.3.320.0000.00513.18
7.3.310.0000.00716.32
7.3.300.0000.00716.38
7.3.290.0040.01116.35
7.3.280.0080.01116.34
7.3.270.0100.01117.40
7.3.260.0050.01316.52
7.3.250.0110.00716.36
7.3.240.0070.00716.37
7.3.230.0030.01316.54
7.3.210.0110.00516.61
7.3.200.0090.00619.39
7.3.190.0120.00616.73
7.3.180.0240.02716.18
7.3.170.0090.00616.46
7.3.160.0060.00916.22
7.2.330.0090.00916.74
7.2.320.0150.00316.69
7.2.310.0130.01016.61
7.2.300.0200.00416.59
7.2.290.0070.01016.77
7.2.110.0150.01316.65
7.1.70.0000.00717.19
7.1.60.0060.01919.46
7.1.50.0070.01717.07
7.1.00.0030.07722.37
7.0.200.0030.00717.04
7.0.140.0070.07021.99
7.0.60.0130.06320.00
7.0.50.0070.06317.89
7.0.40.0070.04320.06
7.0.30.0300.07020.18
7.0.20.0200.04320.23
7.0.10.0230.06320.20
7.0.00.0030.06320.05
5.6.280.0030.07321.05
5.6.210.0130.06320.56
5.6.200.0070.04318.17
5.6.190.0030.09020.63
5.6.180.0270.06720.41
5.6.170.0270.06720.55
5.6.160.0130.08020.54
5.6.150.0000.04018.20
5.6.140.0100.05718.18
5.6.130.0070.07018.21
5.6.120.0130.07721.05
5.6.110.0070.08320.88
5.6.100.0070.05321.10
5.6.90.0030.08321.09
5.6.80.0170.07020.28
5.6.70.3300.03020.40
5.5.350.0100.09020.32
5.5.340.0070.08018.02
5.5.330.0030.04020.15
5.5.320.0100.04020.29
5.5.310.0230.07320.20
5.5.300.0070.03717.97
5.5.290.0070.04718.00
5.5.280.0100.08020.64
5.5.270.0100.08020.86
5.5.260.0000.06020.95
5.5.250.0100.05720.46
5.5.240.0270.07320.14
5.4.450.0270.04319.43
5.4.440.0200.04319.57
5.4.430.0470.04719.41
5.4.420.0570.03319.45
5.4.410.0470.05318.97
5.4.400.0400.04319.06
5.4.390.0330.04318.82
5.4.380.0400.06718.67
5.4.370.0530.07318.50
5.4.360.0600.07318.72
5.4.350.0300.07018.49
5.4.340.0600.06718.49
5.4.320.0080.04412.45
5.4.310.0070.04612.45
5.4.300.0090.04512.45
5.4.290.0090.04212.45
5.4.280.0090.03612.35
5.4.270.0100.05612.35
5.4.260.0030.04012.35
5.4.250.0060.04012.34
5.4.240.0040.03612.34
5.4.230.0060.03812.34
5.4.220.0050.03612.34
5.4.210.0080.03312.34
5.4.200.0060.03812.34
5.4.190.0040.03712.34
5.4.180.0100.03212.34
5.4.170.0080.03412.35
5.4.160.0040.04012.34
5.4.150.0080.03612.34
5.4.140.0070.04512.02
5.4.130.0050.03612.01
5.4.120.0060.03411.96
5.4.110.0070.03511.96
5.4.100.0030.03611.96
5.4.90.0060.03611.96
5.4.80.0030.03811.96
5.4.70.0060.03511.96
5.4.60.0040.03611.96
5.4.50.0060.03511.96
5.4.40.0050.03511.95
5.4.30.0050.03811.95
5.4.20.0060.03711.95
5.4.10.0060.03311.95
5.4.00.0090.03211.44
5.3.290.0030.04212.80
5.3.280.0070.03612.71
5.3.270.0040.04012.72
5.3.260.0060.03712.72
5.3.250.0060.03612.72
5.3.240.0060.04112.72
5.3.230.0050.03812.70
5.3.220.0020.03912.68
5.3.210.0060.04412.68
5.3.200.0060.03512.68
5.3.190.0060.03612.68
5.3.180.0060.03512.67
5.3.170.0060.03612.67
5.3.160.0050.03912.67
5.3.150.0080.03812.68
5.3.140.0060.03712.66
5.3.130.0040.04012.66
5.3.120.0040.04112.65
5.3.110.0060.04512.66
5.3.100.0090.03912.12
5.3.90.0050.03712.09
5.3.80.0060.03512.08
5.3.70.0070.03312.07
5.3.60.0070.03712.06
5.3.50.0000.04212.00
5.3.40.0060.04112.00
5.3.30.0060.03411.95
5.3.20.0100.03411.73
5.3.10.0030.03811.70
5.3.00.0020.04211.69
5.2.170.0060.0339.19
5.2.160.0090.0239.19
5.2.150.0040.0319.19
5.2.140.0030.0319.19
5.2.130.0050.0289.14
5.2.120.0060.0269.14
5.2.110.0070.0259.15
5.2.100.0040.0289.15
5.2.90.0060.0319.15
5.2.80.0060.0289.15
5.2.70.0010.0339.15
5.2.60.0070.0359.10
5.2.50.0090.0289.06
5.2.40.0050.0289.05
5.2.30.0040.0299.03
5.2.20.0050.0349.01
5.2.10.0040.0378.92
5.2.00.0050.0288.77
5.1.60.0050.0238.06
5.1.50.0050.0238.06
5.1.40.0050.0258.04
5.1.30.0050.0258.39
5.1.20.0040.0338.41
5.1.10.0060.0238.13
5.1.00.0040.0258.14
5.0.50.0050.0196.61
5.0.40.0050.0186.47
5.0.30.0050.0316.29
5.0.20.0010.0216.26
5.0.10.0030.0216.23
5.0.00.0040.0336.23
4.4.90.0040.0224.78
4.4.80.0050.0134.76
4.4.70.0040.0204.75
4.4.60.0030.0144.76
4.4.50.0040.0144.77
4.4.40.0010.0304.71
4.4.30.0010.0174.76
4.4.20.0030.0154.84
4.4.10.0040.0194.85
4.4.00.0030.0254.76
4.3.110.0040.0134.67
4.3.100.0020.0204.66
4.3.90.0040.0124.63
4.3.80.0020.0244.58
4.3.70.0040.0174.63
4.3.60.0010.0164.63
4.3.50.0030.0214.63
4.3.40.0020.0284.54
4.3.30.0030.0153.28
4.3.20.0040.0143.26
4.3.10.0030.0143.22
4.3.00.0130.01718.55

preferences:
49.69 ms | 401 KiB | 5 Q