3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'page_48.jpg'; preg_match('!\d+!', $var, $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.3.60.0070.00716.63
8.3.50.0130.00516.55
8.3.40.0090.00618.93
8.3.30.0120.00318.75
8.3.20.0060.00318.82
8.3.10.0110.00420.61
8.3.00.0030.01017.63
8.2.180.0100.01018.41
8.2.170.0120.00322.96
8.2.160.0130.00720.39
8.2.150.0000.00924.18
8.2.140.0070.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00417.75
8.2.110.0050.00520.91
8.2.100.0120.00018.03
8.2.90.0000.00819.34
8.2.80.0060.00319.37
8.2.70.0000.00917.49
8.2.60.0000.00817.79
8.2.50.0030.00618.07
8.2.40.0060.00318.09
8.2.30.0000.00718.01
8.2.20.0000.00817.76
8.2.10.0050.00317.86
8.2.00.0050.00217.63
8.1.280.0030.01025.92
8.1.270.0050.00324.66
8.1.260.0000.00926.35
8.1.250.0040.00428.09
8.1.240.0100.00022.48
8.1.230.0090.00320.88
8.1.220.0040.00417.74
8.1.210.0000.00818.79
8.1.200.0100.00017.23
8.1.190.0060.00317.41
8.1.180.0040.00418.10
8.1.170.0060.00318.83
8.1.160.0000.00718.89
8.1.150.0070.00018.62
8.1.140.0000.00717.45
8.1.130.0040.00417.90
8.1.120.0070.00017.45
8.1.110.0040.00417.55
8.1.100.0000.00717.53
8.1.90.0000.00817.45
8.1.80.0000.00717.54
8.1.70.0020.00517.51
8.1.60.0030.00617.62
8.1.50.0030.00617.42
8.1.40.0000.00717.59
8.1.30.0040.00417.69
8.1.20.0040.00417.70
8.1.10.0000.00717.67
8.1.00.0040.00417.55
8.0.300.0000.00719.98
8.0.290.0030.00316.88
8.0.280.0070.00018.31
8.0.270.0030.00317.20
8.0.260.0030.00316.95
8.0.250.0030.00717.04
8.0.240.0000.00817.00
8.0.230.0030.00317.06
8.0.220.0060.00316.96
8.0.210.0000.00716.88
8.0.200.0040.00417.04
8.0.190.0000.00716.97
8.0.180.0080.00017.00
8.0.170.0060.00316.99
8.0.160.0000.00817.07
8.0.150.0040.00416.91
8.0.140.0060.00616.97
8.0.130.0060.00013.42
8.0.120.0070.00016.85
8.0.110.0080.00016.79
8.0.100.0000.00816.99
8.0.90.0070.00017.00
8.0.80.0090.00916.90
8.0.70.0000.00717.00
8.0.60.0070.00016.95
8.0.50.0000.00716.84
8.0.30.0120.00617.29
8.0.20.0100.01217.08
8.0.10.0070.00017.03
8.0.00.0030.01716.73
7.4.330.0050.00013.07
7.4.320.0030.00316.78
7.4.300.0050.00216.75
7.4.290.0030.00316.77
7.4.280.0040.00416.68
7.4.270.0040.00416.65
7.4.260.0060.00013.43
7.4.250.0090.00016.73
7.4.240.0030.00316.59
7.4.230.0000.00716.85
7.4.220.0070.01116.70
7.4.210.0080.00816.67
7.4.200.0030.00616.81
7.4.190.0040.00416.69
7.4.160.0060.00916.64
7.4.150.0100.01016.61
7.4.140.0080.00816.59
7.4.130.0070.01016.59
7.4.120.0090.00816.65
7.4.110.0030.01416.64
7.4.100.0120.00616.44
7.4.90.0100.00716.56
7.4.80.0110.00719.39
7.4.70.0100.01216.52
7.4.60.0070.01116.71
7.4.50.0000.01016.56
7.4.40.0050.01116.77
7.4.30.0070.01016.63
7.4.00.0120.00515.02
7.3.330.0030.00313.11
7.3.320.0000.00613.06
7.3.310.0000.00716.14
7.3.300.0000.00716.27
7.3.290.0140.00316.25
7.3.280.0060.01116.29
7.3.270.0100.00716.59
7.3.260.0070.01016.27
7.3.250.0190.00316.44
7.3.240.0100.00916.34
7.3.230.0060.01116.39
7.3.210.0090.00616.53
7.3.200.0160.00716.53
7.3.190.0070.01316.31
7.3.180.0130.00716.55
7.3.170.0130.00316.28
7.3.160.0110.00516.52
7.3.120.0070.00714.76
7.3.110.0130.00314.82
7.3.100.0040.00815.06
7.3.90.0000.01114.80
7.3.80.0040.00814.84
7.3.70.0030.01014.63
7.3.60.0030.00614.87
7.3.50.0070.00714.90
7.3.40.0080.00014.91
7.3.30.0070.00414.83
7.3.20.0030.01016.77
7.3.10.0030.01016.71
7.3.00.0060.00916.67
7.2.330.0100.00716.54
7.2.320.0100.00716.61
7.2.310.0230.00016.75
7.2.300.0160.00916.50
7.2.290.0080.00816.43
7.2.250.0060.00915.18
7.2.240.0150.00315.04
7.2.230.0060.00915.06
7.2.220.0030.00915.05
7.2.210.0070.00714.95
7.2.200.0030.01015.12
7.2.190.0000.01415.02
7.2.180.0040.01115.21
7.2.170.0090.00615.07
7.2.00.0060.00619.60
7.1.330.0070.01016.13
7.1.320.0040.00715.87
7.1.310.0040.01116.06
7.1.300.0060.00915.67
7.1.290.0030.00515.68
7.1.280.0080.00015.84
7.1.270.0070.00415.87
7.1.260.0000.01315.98
7.1.100.0000.01018.30
7.1.70.0000.01617.22
7.1.60.0110.00419.40
7.1.50.0040.01517.22
7.1.00.0100.06722.36
7.0.200.0000.01016.63
7.0.140.0070.07322.09
7.0.120.0030.07322.03
7.0.60.0070.08320.03
7.0.50.0100.03317.74
7.0.40.0070.07720.32
7.0.30.0200.06020.27
7.0.20.0230.04720.07
7.0.10.0070.08020.20
7.0.00.0030.07720.07
5.6.280.0000.07721.01
5.6.210.0000.09020.70
5.6.200.0130.07718.27
5.6.190.0070.08320.47
5.6.180.0430.07020.67
5.6.170.0330.07320.62
5.6.160.0130.07720.44
5.6.150.0070.08318.25
5.6.140.0100.07318.22
5.6.130.0100.07718.27
5.6.120.0070.07321.09
5.6.110.0030.06321.08
5.6.100.0130.03720.95
5.6.90.0070.05020.94
5.6.80.0100.08020.37
5.6.70.4500.04020.51
5.5.350.0030.04320.38
5.5.340.0070.05017.99
5.5.330.0030.04720.31
5.5.320.0500.06320.32
5.5.310.0270.07720.27
5.5.300.0100.07717.98
5.5.290.0070.08017.97
5.5.280.0100.08320.89
5.5.270.0030.04020.75
5.5.260.0130.04320.86
5.5.250.0100.07720.52
5.5.240.0130.03720.28
5.4.450.0070.08019.20
5.4.440.0130.08019.21
5.4.430.0170.06719.19
5.4.420.0170.06319.40
5.4.410.0100.07319.04
5.4.400.0030.06019.16
5.4.390.0030.04718.92
5.4.380.0070.04719.07
5.4.370.0030.07318.87
5.4.360.0070.07718.87
5.4.350.0100.07019.08
5.4.340.0030.03719.08
5.4.320.0100.05319.08
5.4.310.0070.04019.24
5.4.300.0100.03318.85
5.4.290.0000.04719.14
5.4.280.0170.06319.06
5.4.270.0100.07318.86
5.4.260.0030.04719.24
5.4.250.0000.04019.23
5.4.240.0000.04019.20
5.4.230.0200.03719.23
5.4.220.0000.05018.84
5.4.210.0000.04019.23
5.4.200.0030.03719.20
5.4.190.0030.03718.99
5.4.180.0100.03019.19
5.4.170.0100.03018.84
5.4.160.0100.03318.82
5.4.150.0030.03719.21
5.4.140.0030.03716.38
5.4.130.0000.03716.25
5.4.120.0070.04016.39
5.4.110.0000.03716.39
5.4.100.0030.03316.33
5.4.90.0070.03316.42
5.4.80.0030.03716.27
5.4.70.0000.06016.39
5.4.60.0000.04016.40
5.4.50.0000.03716.64
5.4.40.0030.03316.38
5.4.30.0000.04016.60
5.4.20.0030.03316.38
5.4.10.0000.03716.34
5.4.00.0030.03315.70
5.3.290.0100.04714.57
5.3.280.0030.03714.59
5.3.270.0070.03314.63
5.3.260.0000.04014.75
5.3.250.0030.04014.59
5.3.240.0030.03714.60
5.3.230.0030.04014.51
5.3.220.0000.03714.59
5.3.210.0000.04014.55
5.3.200.0030.03714.70
5.3.190.0000.04714.71
5.3.180.0000.04014.70
5.3.170.0000.04014.69
5.3.160.0000.04014.71
5.3.150.0100.03014.57
5.3.140.0070.03314.60
5.3.130.0000.04314.53
5.3.120.0030.03714.61
5.3.110.0000.05014.54
5.3.100.0070.03313.92
5.3.90.0030.03314.05
5.3.80.0000.03714.16
5.3.70.0000.05314.00
5.3.60.0130.02313.98
5.3.50.0030.03713.88
5.3.40.0070.08013.94
5.3.30.0030.05013.85
5.3.20.0030.03313.57
5.3.10.0200.06313.80
5.3.00.0100.05713.63
5.2.170.0070.06311.29
5.2.160.0000.06711.30
5.2.150.0070.06011.20
5.2.140.0000.04311.09
5.2.130.0030.06711.06
5.2.120.0000.05011.24
5.2.110.0000.06311.10
5.2.100.0100.03011.09
5.2.90.0030.07011.09
5.2.80.0070.06011.13
5.2.70.0100.06311.03
5.2.60.0000.04711.01
5.2.50.0030.03711.02
5.2.40.0030.03011.01
5.2.30.0070.06310.97
5.2.20.0070.06311.00
5.2.10.0030.06010.85
5.2.00.0000.06310.78
5.1.60.0000.02710.00
5.1.50.0030.0379.94
5.1.40.0130.0309.98
5.1.30.0030.04010.19
5.1.20.0000.03710.23
5.1.10.0070.03010.07
5.1.00.0030.0579.97
5.0.50.0000.0508.50
5.0.40.0030.0478.55
5.0.30.0030.0538.26
5.0.20.0030.0208.14
5.0.10.0030.0478.32
5.0.00.0030.0438.20
4.4.90.0030.0307.72
4.4.80.0000.0237.72
4.4.70.0000.0337.72
4.4.60.0000.0337.72
4.4.50.0000.0307.72
4.4.40.0030.0577.72
4.4.30.0000.0377.72
4.4.20.0030.0337.72
4.4.10.0030.0177.72
4.4.00.0000.0307.72
4.3.110.0000.0177.72
4.3.100.0030.0177.72
4.3.90.0070.0137.72
4.3.80.0030.0507.72
4.3.70.0000.0277.72
4.3.60.0000.0307.72
4.3.50.0000.0177.72
4.3.40.0000.0407.72
4.3.30.0030.0177.72
4.3.20.0070.0237.72
4.3.10.0000.0307.72
4.3.00.0000.0177.72

preferences:
45.85 ms | 400 KiB | 5 Q