3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '/var/www/vb_dev/frontend/web/img/up/bf9b12de5ea78cecacd3dde69f2a72f8/676/6dc6c807e1cef2ba8af8e422abe77286/5/l.jpg'; preg_match('/(.*)\/img\/up\/(.*)\.jpg/', $s, $matches); var_dump($matches); $s = '/img/up/bf9b12de5ea78cecacd3dde69f2a72f8/676/6dc6c807e1cef2ba8af8e422abe77286/5/l.jpg'; preg_match('/(.*)\/img\/up\/(.*)\.jpg/', $s, $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.40.0130.00718.97
8.3.30.0100.01019.05
8.3.20.0080.00020.31
8.3.10.0000.00821.95
8.3.00.0050.00320.75
8.2.170.0100.00722.96
8.2.160.0070.01019.26
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.48
8.2.110.0070.00322.23
8.2.100.0060.00617.88
8.2.90.0050.00319.17
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0070.00417.80
8.2.50.0040.00418.10
8.2.40.0060.00320.01
8.2.30.0050.00318.04
8.2.20.0080.00017.62
8.2.10.0040.00417.65
8.2.00.0050.00317.79
8.1.270.0080.00022.19
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0040.00423.83
8.1.230.0060.00620.29
8.1.220.0030.00717.74
8.1.210.0000.00918.77
8.1.200.0000.00917.23
8.1.190.0090.00017.22
8.1.180.0040.00418.10
8.1.170.0030.00518.66
8.1.160.0070.00022.23
8.1.150.0070.00018.71
8.1.140.0050.00317.51
8.1.130.0000.00717.92
8.1.120.0040.00417.46
8.1.110.0080.00017.59
8.1.100.0000.00817.54
8.1.90.0040.00417.58
8.1.80.0000.00717.55
8.1.70.0030.00317.52
8.1.60.0080.00017.69
8.1.50.0050.00317.54
8.1.40.0000.00817.61
8.1.30.0000.00817.58
8.1.20.0030.00517.66
8.1.10.0040.00417.70
8.1.00.0000.00717.50
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0000.00718.34
8.0.270.0000.00717.17
8.0.260.0030.00316.91
8.0.250.0000.00716.98
8.0.240.0070.00016.91
8.0.230.0040.00416.92
8.0.220.0030.00316.89
8.0.210.0000.00717.00
8.0.200.0080.00017.02
8.0.190.0000.00817.02
8.0.180.0000.00716.90
8.0.170.0000.00816.89
8.0.160.0060.00316.92
8.0.150.0070.00016.89
8.0.140.0060.00316.96
8.0.130.0060.00013.38
8.0.120.0040.00416.92
8.0.110.0070.00016.95
8.0.100.0070.00017.09
8.0.90.0040.00416.85
8.0.80.0120.00616.99
8.0.70.0030.00516.80
8.0.60.0000.00716.80
8.0.50.0080.00016.96
8.0.30.0080.01017.10
8.0.20.0140.00817.40
8.0.10.0040.00417.06
8.0.00.0140.00716.79
7.4.330.0050.00015.00
7.4.320.0030.00316.52
7.4.300.0040.00416.65
7.4.290.0000.00716.55
7.4.280.0080.00016.54
7.4.270.0070.00016.66
7.4.260.0050.00316.62
7.4.250.0040.00416.71
7.4.240.0030.00516.58
7.4.230.0030.00316.87
7.4.220.0100.01316.70
7.4.210.0090.00816.72
7.4.200.0050.00216.70
7.4.190.0030.00316.70
7.4.160.0090.00616.66
7.4.150.0070.01117.40
7.4.140.0040.01517.86
7.4.130.0110.00616.60
7.4.120.0060.01116.62
7.4.110.0120.00616.53
7.4.100.0060.01216.66
7.4.90.0120.01216.64
7.4.80.0120.00619.39
7.4.70.0090.01316.66
7.4.60.0100.01416.59
7.4.50.0030.00616.70
7.4.40.0060.00622.77
7.4.30.0110.01116.78
7.4.00.0100.00715.13
7.3.330.0050.00013.12
7.3.320.0020.00213.17
7.3.310.0030.00416.28
7.3.300.0070.00016.20
7.3.290.0030.01016.29
7.3.280.0080.00916.30
7.3.270.0030.01417.40
7.3.260.0130.01016.56
7.3.250.0110.00716.57
7.3.240.0100.00616.32
7.3.230.0070.01016.39
7.3.210.0100.01316.66
7.3.200.0090.00919.39
7.3.190.0140.00716.67
7.3.180.0080.00816.27
7.3.170.0050.01116.52
7.3.160.0120.00316.32
7.3.120.0030.01615.16
7.3.110.0070.01114.75
7.3.100.0000.01515.07
7.3.90.0100.01014.86
7.3.80.0080.00614.73
7.3.70.0150.00014.91
7.3.60.0110.00014.96
7.3.50.0030.01014.98
7.3.40.0030.01014.87
7.3.30.0040.01114.96
7.3.20.0070.00416.73
7.3.10.0040.01116.50
7.3.00.0030.00916.49
7.2.330.0070.01316.68
7.2.320.0100.00716.48
7.2.310.0130.00916.73
7.2.300.0120.00916.52
7.2.290.0080.00816.74
7.2.240.0070.01314.81
7.2.230.0090.00915.13
7.2.220.0070.01315.20
7.2.210.0080.00815.10
7.2.200.0120.00315.01
7.2.190.0090.00615.02
7.2.180.0090.00615.13
7.2.170.0070.01014.84
7.2.160.0110.00315.07
7.2.150.0070.00417.01
7.2.140.0000.01716.90
7.2.130.0090.00316.91
7.2.120.0060.00916.98
7.2.110.0030.01216.69
7.2.100.0120.00616.99
7.2.90.0100.00716.83
7.2.80.0100.00716.96
7.2.70.0060.00616.80
7.2.60.0070.00717.04
7.2.50.0060.00916.94
7.2.40.0070.00716.70
7.2.30.0120.00316.85
7.2.20.0110.00716.99
7.2.10.0090.00616.92
7.2.00.0070.00818.27
7.1.330.0090.00716.13
7.1.320.0040.00415.84
7.1.310.0040.00816.00
7.1.300.0080.00315.84
7.1.290.0000.01315.79
7.1.280.0000.01415.81
7.1.270.0110.00315.80
7.1.260.0000.01515.99
7.1.250.0090.00616.03
7.1.100.0000.01418.47
7.1.70.0040.00416.94
7.1.60.0110.01519.82
7.1.50.0070.01417.22
7.1.00.0130.06722.47
7.0.200.0030.00616.75
7.0.140.0030.06721.99
7.0.60.0070.07719.81
7.0.50.0100.04317.87
7.0.40.0130.08019.98
7.0.30.0270.04020.06
7.0.20.0370.07020.14
7.0.10.0200.09020.01
7.0.00.0130.08720.07
5.6.280.0070.07020.81
5.6.210.0130.08020.62
5.6.200.0100.06318.17
5.6.190.0000.06720.63
5.6.180.2870.04020.68
5.6.170.0330.06020.38
5.6.160.0130.08020.47
5.6.150.0030.06318.13
5.6.140.0000.05018.15
5.6.130.0100.06718.12
5.6.120.0000.04321.03
5.6.110.0030.08321.13
5.6.100.0000.05020.96
5.6.90.0070.08321.12
5.6.80.0130.07720.41
5.6.70.0170.03320.50
5.5.350.0030.07720.43
5.5.340.0030.06717.99
5.5.330.0070.08020.25
5.5.320.0200.04020.41
5.5.310.0270.08320.21
5.5.300.0070.05017.91
5.5.290.0070.08018.01
5.5.280.0100.04020.97
5.5.270.0200.06720.84
5.5.260.0000.06020.88
5.5.250.0000.04320.42
5.5.240.0030.08320.11
5.4.450.0770.05319.55
5.4.440.0730.06319.43
5.4.430.0800.06019.63
5.4.420.0830.04319.13
5.4.410.0100.05019.14
5.4.400.0730.00018.83
5.4.390.1030.00018.68
5.4.380.0400.04318.77
5.4.370.0700.04718.66
5.4.360.0270.04718.68
5.4.350.0230.05018.74
5.4.340.0300.04718.68
5.4.320.0070.03912.45
5.4.310.0080.04312.45
5.4.300.0080.04212.45
5.4.290.0080.03512.45
5.4.280.0080.03412.35
5.4.270.0100.04812.34
5.4.260.0100.05018.64
5.4.250.0230.04019.01
5.4.240.0170.05318.83
5.4.230.0170.04318.77
5.4.220.0100.06718.77
5.4.210.0070.05319.02
5.4.200.0100.05318.88
5.4.190.0070.08018.98
5.4.180.0070.05018.86
5.4.170.0170.04318.85
5.4.160.0000.06018.65
5.4.150.0100.05718.64
5.4.140.0000.06016.29
5.4.130.0200.06016.29
5.4.120.0070.05316.23
5.4.110.0030.05316.17
5.4.100.0100.06716.41
5.4.90.0130.04316.25
5.4.80.0000.07716.27
5.4.70.0070.05016.22
5.4.60.0130.07016.23
5.4.50.0030.05716.26
5.4.40.0100.04316.44
5.4.30.0070.04716.48
5.4.20.0130.04016.48
5.4.10.0100.04716.21
5.4.00.0100.04715.68
5.3.290.0080.04512.80
5.3.280.0100.05014.43
5.3.270.0070.07714.76
5.3.260.0070.05314.49
5.3.250.0070.05014.30
5.3.240.0070.05314.47
5.3.230.0130.04714.29
5.3.220.0070.05314.58
5.3.210.0030.06014.66
5.3.200.0170.04014.42
5.3.190.0030.05314.42
5.3.180.0030.06714.40
5.3.170.0070.06014.34
5.3.160.0070.04714.40
5.3.150.0030.05314.40
5.3.140.0130.08014.60
5.3.130.0130.07014.71
5.3.120.0030.05714.32
5.3.110.0070.05314.33
5.3.100.0170.04713.76
5.3.90.0000.05713.90
5.3.80.0100.04713.85
5.3.70.0070.05313.71
5.3.60.0100.04714.15
5.3.50.0030.05313.86
5.3.40.0130.04313.96
5.3.30.0230.04314.02
5.3.20.0030.05713.78
5.3.10.0070.04713.56
5.3.00.0170.06313.65
5.2.170.0100.03711.13
5.2.160.0100.04711.04
5.2.150.0070.04011.14
5.2.140.0070.04011.16
5.2.130.0030.04311.20
5.2.120.0170.05010.93
5.2.110.0070.04311.19
5.2.100.0030.04711.10
5.2.90.0100.03310.86
5.2.80.0070.03711.09
5.2.70.0070.04010.99
5.2.60.0170.04011.05
5.2.50.0070.03711.13
5.2.40.0030.04311.01
5.2.30.0070.04710.98
5.2.20.0030.04011.07
5.2.10.0070.04010.74
5.2.00.0130.04010.80
5.1.60.0100.04310.18
5.1.50.0030.0339.88
5.1.40.0030.0379.82
5.1.30.0100.03010.42
5.1.20.0100.03710.35
5.1.10.0130.02710.08
5.1.00.0000.0439.97
5.0.50.0030.0308.63
5.0.40.0000.0308.25
5.0.30.0000.0508.28
5.0.20.0100.0238.23
5.0.10.0070.0338.15
5.0.00.0070.0408.20
4.4.90.0000.0236.41
4.4.80.0100.0136.41
4.4.70.0100.0236.41
4.4.60.0100.0136.41
4.4.50.0000.0236.41
4.4.40.0000.0376.41
4.4.30.0000.0236.41
4.4.20.0070.0176.41
4.4.10.0100.0176.41
4.4.00.0030.0336.41
4.3.110.0030.0236.41
4.3.100.0000.0236.38
4.3.90.0000.0236.38
4.3.80.0130.0306.38
4.3.70.0070.0176.38
4.3.60.0000.0236.38
4.3.50.0030.0206.38
4.3.40.0100.0276.38
4.3.30.0000.0236.38
4.3.20.0000.0236.38
4.3.10.0000.0236.38
4.3.00.0130.0235.72

preferences:
39.69 ms | 400 KiB | 5 Q