3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = "/(media|images)(.*?)(.jpg|.jpeg|.png)/"; $str = 'images/test/test-1.png" alt="test-1" /></a><a href="/test-2" title="test 2"><img src="/images/test/test2.png" alt="test2" /></a> <a href="/test-3" title="Cruises in Croatia"><img src="/images/EET/test-3.png'; preg_match_all($re,$str,$matches ); print_r($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.4.130.0050.00417.95
8.4.120.0120.00824.00
8.4.110.0050.00318.89
8.4.100.0120.00917.55
8.4.90.0140.00718.80
8.4.80.0030.00617.93
8.4.70.0140.00818.05
8.4.60.0130.00818.70
8.4.50.0050.00418.09
8.4.40.0100.01019.41
8.4.30.0110.00722.42
8.4.20.0160.00618.52
8.4.10.0060.01322.25
8.3.260.0110.00916.73
8.3.250.0090.00718.88
8.3.240.0140.00516.77
8.3.230.0140.00516.53
8.3.220.0100.00816.97
8.3.210.0110.00816.71
8.3.200.0140.00616.80
8.3.190.0140.00918.75
8.3.180.0140.00516.53
8.3.170.0180.00020.55
8.3.160.0160.00317.14
8.3.150.0080.00017.03
8.3.140.0070.00716.66
8.3.130.0100.00016.79
8.3.120.0050.00520.47
8.3.110.0030.00620.94
8.3.100.0060.00318.31
8.3.90.0110.00716.50
8.3.80.0080.00016.53
8.3.70.0090.00618.55
8.3.60.0120.00416.63
8.3.50.0120.00019.15
8.3.40.0150.00018.76
8.3.30.0070.00718.83
8.3.20.0050.00221.69
8.3.10.0000.00823.43
8.3.00.0080.00022.45
8.2.290.0130.00620.20
8.2.280.0090.00918.68
8.2.270.0190.00017.08
8.2.260.0110.00716.59
8.2.250.0050.00316.84
8.2.240.0070.00316.94
8.2.230.0090.00622.58
8.2.220.0090.00624.06
8.2.210.0110.00726.77
8.2.200.0100.00016.63
8.2.190.0070.00716.75
8.2.180.0140.00716.75
8.2.170.0040.01122.96
8.2.160.0130.00320.44
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0060.01221.13
8.2.110.0060.00621.30
8.2.100.0110.00017.84
8.2.90.0080.00019.88
8.2.80.0070.00020.53
8.2.70.0040.00417.92
8.2.60.0080.00018.16
8.2.50.0000.00818.10
8.2.40.0000.00819.36
8.2.30.0050.00219.20
8.2.20.0040.00418.13
8.2.10.0030.00718.89
8.2.00.0000.00719.14
8.1.330.0110.00721.73
8.1.320.0100.00916.27
8.1.310.0160.00318.39
8.1.300.0060.00918.65
8.1.290.0030.00618.88
8.1.280.0070.00725.92
8.1.270.0030.00622.02
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.14
8.1.230.0080.00421.02
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0000.00917.35
8.1.180.0050.00318.10
8.1.170.0000.00818.63
8.1.160.0040.00419.04
8.1.150.0040.00418.91
8.1.140.0000.00718.86
8.1.130.0030.00320.11
8.1.120.0000.00717.46
8.1.110.0040.00417.49
8.1.100.0040.00417.57
8.1.90.0050.00217.55
8.1.80.0040.00417.51
8.1.70.0040.00417.58
8.1.60.0040.00417.70
8.1.50.0050.00317.55
8.1.40.0050.00317.52
8.1.30.0000.00817.71
8.1.20.0040.00417.77
8.1.10.0050.00217.57
8.1.00.0100.00317.60
8.0.300.0060.00320.09
8.0.290.0000.00916.75
8.0.280.0000.00718.47
8.0.270.0030.00516.95
8.0.260.0030.00320.10
8.0.250.0040.00417.04
8.0.240.0020.00816.91
8.0.230.0030.00316.92
8.0.220.0070.00016.95
8.0.210.0040.00417.02
8.0.200.0060.00017.08
8.0.190.0000.00717.00
8.0.180.0000.00717.03
8.0.170.0070.00317.02
8.0.160.0040.00416.98
8.0.150.0080.00017.00
8.0.140.0000.00716.83
8.0.130.0030.00313.41
8.0.120.0040.00416.87
8.0.110.0040.00416.84
8.0.100.0040.00417.04
8.0.90.0000.00917.00
8.0.80.0090.00617.02
8.0.70.0040.00417.02
8.0.60.0070.00016.89
8.0.50.0000.00816.81
8.0.30.0110.00617.43
8.0.20.0090.01017.16
8.0.10.0070.00017.11
8.0.00.0060.01216.80
7.4.330.0050.00015.55
7.4.320.0060.00016.64
7.4.300.0000.00616.65
7.4.290.0040.00416.66
7.4.280.0000.00716.66
7.4.270.0000.00716.59
7.4.260.0060.00013.42
7.4.250.0030.00316.60
7.4.240.0040.00316.67
7.4.230.0030.00316.47
7.4.220.0050.00316.67
7.4.210.0060.00916.78
7.4.200.0030.00316.77
7.4.140.0160.00817.86
7.4.130.0120.00616.83
7.4.120.0180.00316.63
7.4.110.0100.00716.70
7.4.100.0150.00316.63
7.4.90.0040.01216.55
7.4.80.0100.00719.39
7.4.70.0070.01616.49
7.4.60.0120.00516.65
7.4.50.0040.00816.32
7.4.40.0030.01316.50
7.4.00.0000.01114.98
7.3.330.0000.00716.36
7.3.320.0000.00513.21
7.3.310.0000.00716.16
7.3.300.0030.00316.33
7.3.290.0070.00016.33
7.3.280.0110.00316.29
7.3.260.0120.00916.52
7.3.240.0070.00916.48
7.3.230.0080.00816.48
7.3.210.0080.00816.27
7.3.200.0090.00916.55
7.3.190.0150.00316.25
7.3.180.0030.01116.27
7.3.170.0080.00816.36
7.3.160.0060.01216.52
7.3.110.0110.00414.58
7.3.100.0070.00714.47
7.3.90.0140.00014.80
7.3.80.0030.01114.73
7.3.70.0080.00614.83
7.3.60.0060.00614.53
7.3.50.0030.00914.89
7.3.40.0120.00014.83
7.3.30.0030.01614.84
7.3.20.0140.00014.87
7.3.10.0090.00614.80
7.3.00.0030.01014.75
7.2.330.0000.01716.57
7.2.320.0120.00916.52
7.2.310.0040.01216.65
7.2.300.0090.00916.63
7.2.290.0060.01016.53
7.2.240.0050.01014.95
7.2.230.0140.00014.98
7.2.220.0030.01015.05
7.2.210.0060.00914.89
7.2.200.0140.00014.93
7.2.190.0060.00614.95
7.2.180.0080.00814.77
7.2.170.0030.01015.04
7.2.160.0030.01014.83
7.2.150.0090.00615.13
7.2.140.0100.00615.21
7.2.130.0030.01215.04
7.2.120.0120.00415.06
7.2.110.0090.00915.20
7.2.100.0060.01114.96
7.2.90.0040.01115.01
7.2.80.0170.00315.10
7.2.70.0060.01315.07
7.2.60.0070.01115.02
7.2.50.0000.01814.95
7.2.40.0030.01615.02
7.2.30.0040.01415.02
7.2.20.0080.00815.13
7.2.10.0030.01315.06
7.2.00.0060.01315.08
7.1.330.0040.00914.12
7.1.320.0070.00714.02
7.1.310.0060.00613.97
7.1.300.0030.01014.10
7.1.290.0090.00314.01
7.1.280.0080.00813.83
7.1.270.0150.00014.13
7.1.260.0070.00714.08
7.1.250.0100.00313.81

preferences:
28.32 ms | 403 KiB | 5 Q