3v4l.org

run code in 300+ PHP versions simultaneously
<?php // on a besoin de recuperer ce qu'il y a entre () par exemple : dskjdslkjds (13254) preg_match_all('/\(([\d]+)\)/','dsdsq',$matches); var_dump(preg_match_all('/\(([\d]+)\)/','dsdsq',$matches)); preg_match_all('/\(([\d]+)\)/','dsdsds(12345)',$matches); var_dump($matches); preg_match_all('/\(([\d]+)\)/',NULL,$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.70.0060.00916.58
8.3.60.0150.00018.28
8.3.50.0090.00922.05
8.3.40.0110.01119.09
8.3.30.0150.00018.92
8.3.20.0050.00318.90
8.3.10.0080.00020.48
8.3.00.0110.00423.54
8.2.180.0150.00616.88
8.2.170.0160.00022.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00419.48
8.2.110.0040.00420.39
8.2.100.0060.00617.78
8.2.90.0040.00419.11
8.2.80.0040.00417.97
8.2.70.0080.00017.75
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0000.00718.03
8.2.30.0000.00819.81
8.2.20.0000.00817.81
8.2.10.0000.00817.64
8.2.00.0050.00317.70
8.1.280.0120.00825.92
8.1.270.0040.00423.99
8.1.260.0090.00926.35
8.1.250.0040.00428.09
8.1.240.0110.00020.61
8.1.230.0090.00320.89
8.1.220.0000.00818.77
8.1.210.0000.00818.96
8.1.200.0060.00317.22
8.1.190.0040.00417.39
8.1.180.0000.00818.10
8.1.170.0000.00818.72
8.1.160.0000.00918.80
8.1.150.0000.00818.64
8.1.140.0040.00417.43
8.1.130.0070.00017.77
8.1.120.0080.00017.42
8.1.110.0050.00217.48
8.1.100.0030.00517.51
8.1.90.0040.00417.48
8.1.80.0040.00417.52
8.1.70.0030.00517.51
8.1.60.0000.00917.62
8.1.50.0000.00817.55
8.1.40.0040.00417.46
8.1.30.0040.00417.50
8.1.20.0000.00817.59
8.1.10.0040.00417.46
8.1.00.0040.00417.41
8.0.300.0040.00419.89
8.0.290.0030.00317.16
8.0.280.0050.00318.34
8.0.270.0070.00017.06
8.0.260.0000.00716.89
8.0.250.0000.00716.97
8.0.240.0000.00816.99
8.0.230.0030.00316.88
8.0.220.0030.00316.91
8.0.210.0040.00416.80
8.0.200.0000.00717.04
8.0.190.0040.00416.87
8.0.180.0030.00316.94
8.0.170.0080.00016.82
8.0.160.0030.00516.86
8.0.150.0000.01116.82
8.0.140.0000.00816.90
8.0.130.0030.00613.34
8.0.120.0030.00616.86
8.0.110.0040.00416.94
8.0.100.0030.00616.94
8.0.90.0040.00416.88
8.0.80.0030.01416.90
8.0.70.0040.00416.80
8.0.60.0080.00016.88
8.0.50.0000.00716.86
8.0.30.0100.00916.82
8.0.20.0160.00317.40
8.0.10.0030.00517.09
8.0.00.0080.01616.70
7.4.330.0000.00614.91
7.4.320.0000.00716.61
7.4.300.0000.00716.58
7.4.290.0050.00216.59
7.4.280.0090.00016.60
7.4.270.0040.00416.46
7.4.260.0000.00513.25
7.4.250.0040.00416.50
7.4.240.0080.00016.58
7.4.230.0070.00016.40
7.4.220.0070.01116.52
7.4.210.0060.00916.67
7.4.200.0000.00716.62
7.4.190.0070.00016.66
7.4.160.0110.00716.45
7.4.150.0130.01317.40
7.4.140.0150.00917.86
7.4.130.0090.00716.59
7.4.120.0050.01116.67
7.4.110.0000.01816.64
7.4.100.0080.00916.49
7.4.90.0140.00316.63
7.4.80.0070.01019.37
7.4.70.0090.00916.50
7.4.60.0000.01716.59
7.4.50.0000.01016.39
7.4.40.0030.01022.27
7.4.30.0070.01116.55
7.4.00.0040.00714.93
7.3.330.0000.00513.11
7.3.320.0050.00013.18
7.3.310.0030.00316.23
7.3.300.0030.00316.27
7.3.290.0030.01216.22
7.3.280.0070.01016.26
7.3.270.0030.01317.40
7.3.260.0050.01418.24
7.3.250.0120.00816.45
7.3.240.0130.00316.32
7.3.230.0110.01116.40
7.3.210.0090.00916.46
7.3.200.0140.00719.39
7.3.190.0080.00816.65
7.3.180.0070.01016.56
7.3.170.0100.00616.55
7.3.160.0040.01216.54
7.3.120.0040.00814.79
7.2.330.0130.00416.75
7.2.320.0030.01516.72
7.2.310.0100.00716.53
7.2.300.0100.01316.56
7.2.290.0100.00716.60
7.2.60.0000.01216.92
7.2.00.0040.00819.40
7.1.200.0070.00715.97
7.1.100.0000.01418.13
7.1.70.0040.00817.38
7.1.60.0040.01519.40
7.1.50.0160.00617.11
7.1.00.0070.05322.46
7.0.200.0030.00716.63
7.0.140.0000.07722.04
7.0.60.0170.08319.80
7.0.50.0100.07717.82
7.0.40.0100.03717.81
7.0.30.0000.05017.74
7.0.20.0030.04717.73
7.0.10.0070.05317.75
7.0.00.0000.07317.81
5.6.280.0070.07321.12
5.6.210.0100.06020.66
5.6.200.0030.04718.22
5.6.190.0070.08018.22
5.6.180.0170.06718.12
5.6.170.0100.07318.08
5.6.160.0070.08018.21
5.6.150.0030.08018.09
5.6.140.0030.04318.16
5.6.130.0170.07018.18
5.6.120.0070.08318.20
5.6.110.0130.06018.21
5.6.100.0070.07718.21
5.6.90.0100.07718.17
5.6.80.0170.06717.49
5.6.70.0100.07717.57
5.6.60.0130.06717.48
5.6.50.0070.04017.49
5.6.40.0100.07317.57
5.6.30.0070.07717.58
5.6.20.0130.06717.57
5.6.10.0070.08017.45
5.6.00.0070.08017.47
5.5.350.0070.08320.34
5.5.340.0000.04718.02
5.5.330.0070.04717.91
5.5.320.0070.06718.02
5.5.310.0130.06717.92
5.5.300.0070.07717.98
5.5.290.0100.05318.01
5.5.280.0070.08318.01
5.5.270.0170.06018.01
5.5.260.0000.04717.95
5.5.250.0130.07317.80
5.5.240.0030.05017.34
5.5.230.0000.05317.33
5.5.220.0000.08017.32
5.5.210.0030.08317.36
5.5.200.0100.03717.27
5.5.190.0130.07317.26
5.5.180.0000.09017.27
5.5.160.0100.07317.33
5.5.150.0100.07017.27
5.5.140.0100.07717.26
5.5.130.0030.08017.36
5.5.120.0100.07717.35
5.5.110.0130.07017.36
5.5.100.0100.06317.24
5.5.90.0130.04317.16
5.5.80.0130.07717.15
5.5.70.0070.07717.23
5.5.60.0100.07317.19
5.5.50.0070.05017.26
5.5.40.0030.05017.19
5.5.30.0100.07317.22
5.5.20.0100.07717.24
5.5.10.0130.07017.25
5.5.00.0000.04317.25
5.4.450.0100.06319.16
5.4.440.0030.07019.45
5.4.430.0100.05019.17
5.4.420.0070.08019.44
5.4.410.0070.08019.22
5.4.400.0070.07318.99
5.4.390.0070.06019.08
5.4.380.0030.07719.09
5.4.370.0100.05719.01
5.4.360.0070.07719.03
5.4.350.0030.04318.90
5.4.340.0070.07719.12
5.4.320.0100.06719.11
5.4.310.0100.06018.89
5.4.300.0100.03319.05
5.4.290.0000.08018.98
5.4.280.0100.07318.89
5.4.270.0030.04018.98
5.4.260.0130.07019.16
5.4.250.0030.08018.97
5.4.240.0070.03719.12
5.4.230.0130.06318.81
5.4.220.0100.06718.82
5.4.210.0130.03319.02
5.4.200.0030.04019.04
5.4.190.0070.05018.94
5.4.180.0100.07718.96
5.4.170.0100.06018.88
5.4.160.0070.06018.94
5.4.150.0170.07318.95
5.4.140.0100.07316.36
5.4.130.0030.07316.27
5.4.120.0000.04316.24
5.4.110.0000.05016.25
5.4.100.0000.04016.33
5.4.90.0000.05316.37
5.4.80.0030.05716.37
5.4.70.0070.05316.28
5.4.60.0030.07716.25
5.4.50.0130.04016.22
5.4.40.0100.05316.55
5.4.30.0070.04716.30
5.4.20.0170.06316.34
5.4.10.0100.06316.33
5.4.00.0130.06015.77
5.3.290.0130.07714.59
5.3.280.0100.06014.56
5.3.270.0100.07014.69
5.3.260.0070.04314.57
5.3.250.0030.05014.57
5.3.240.0070.07014.43
5.3.230.0070.05314.58
5.3.220.0030.04714.52
5.3.210.0070.07014.31
5.3.200.0000.04014.50
5.3.190.0070.06014.53
5.3.180.0070.07014.34
5.3.170.0130.05314.52
5.3.160.0070.03714.47
5.3.150.0030.07014.49
5.3.140.0000.08014.49
5.3.130.0070.04314.47
5.3.120.0070.05714.54
5.3.110.0070.07314.52
5.3.100.0070.07713.97
5.3.90.0130.06314.09
5.3.80.0030.04013.77
5.3.70.0070.07313.87
5.3.60.0070.04713.92
5.3.50.0000.04013.82
5.3.40.0030.03713.91
5.3.30.0130.07013.86
5.3.20.0070.07313.66
5.3.10.0030.07313.59
5.3.00.0030.07013.71
5.2.170.0000.03311.06
5.2.160.0030.03010.92
5.2.150.0030.05311.17
5.2.140.0100.06711.13
5.2.130.0030.03310.88
5.2.120.0000.03011.04
5.2.110.0030.03310.88
5.2.100.0030.03011.07
5.2.90.0070.06011.23
5.2.80.0100.04711.07
5.2.70.0000.05011.00
5.2.60.0030.03310.83
5.2.50.0100.04310.97
5.2.40.0030.03710.98
5.2.30.0070.02310.93
5.2.20.0070.03010.93
5.2.10.0000.03010.86
5.2.00.0030.02710.61
5.1.60.0030.0239.95
5.1.50.0100.04710.03
5.1.40.0070.0409.80
5.1.30.0130.04310.33
5.1.20.0030.06010.29
5.1.10.0100.05010.05
5.1.00.0070.04310.00
5.0.50.0070.0478.59
5.0.40.0030.0408.43
5.0.30.0000.0678.26
5.0.20.0070.0408.13
5.0.10.0070.0378.14
5.0.00.0000.0538.36
4.4.90.0030.0177.75
4.4.80.0000.0207.75
4.4.70.0000.0207.75
4.4.60.0000.0177.75
4.4.50.0030.0237.75
4.4.40.0100.0237.75
4.4.30.0000.0277.75
4.4.20.0030.0307.75
4.4.10.0070.0137.75
4.4.00.0100.0507.75
4.3.110.0030.0337.75
4.3.100.0070.0307.75
4.3.90.0000.0337.75
4.3.80.0000.0277.75
4.3.70.0000.0207.75
4.3.60.0070.0277.75
4.3.50.0000.0377.75
4.3.40.0100.0477.75
4.3.30.0000.0377.75
4.3.20.0000.0237.75
4.3.10.0000.0177.75
4.3.00.0030.0277.75

preferences:
39.43 ms | 401 KiB | 5 Q