3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings=[ 'e123f654g933c', 'e123f654g933ce99f77g66c' ]; foreach($strings as $string){ var_export( array_map( function($v){ return preg_match_all('/[e-g]\d+/',$v,$out2)?$out2[0]:[]; }, preg_match_all('/(?:[e-g]\d+)+(?=c)/',$string,$out1)?$out1[0]:[] ) ); echo"\n\n"; }

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.120.0040.00522.67
8.4.110.0100.01022.36
8.4.100.0110.00820.63
8.4.90.0110.01018.71
8.4.80.0050.00420.46
8.4.70.0060.00418.17
8.4.60.0140.00718.84
8.4.50.0120.00720.60
8.4.40.0000.00817.77
8.4.30.0030.00717.85
8.4.20.0070.01319.87
8.4.10.0070.01019.62
8.3.250.0110.00618.96
8.3.240.0060.00220.67
8.3.230.0090.00616.79
8.3.220.0100.00719.16
8.3.210.0090.00918.71
8.3.200.0060.00316.54
8.3.190.0100.01018.72
8.3.180.0130.00716.75
8.3.170.0090.00920.65
8.3.160.0070.01117.20
8.3.150.0160.00317.34
8.3.140.0050.00317.00
8.3.130.0040.00416.91
8.3.120.0040.01519.03
8.3.110.0030.00616.80
8.3.100.0000.01216.86
8.3.90.0040.00426.77
8.3.80.0060.00317.97
8.3.70.0110.00416.50
8.3.60.0110.00416.88
8.3.50.0040.01218.34
8.3.40.0070.00718.96
8.3.30.0090.00618.74
8.3.20.0040.00420.07
8.3.10.0040.00421.77
8.3.00.0050.00519.50
8.2.290.0130.00620.66
8.2.280.0120.00618.60
8.2.270.0180.00319.35
8.2.260.0090.01218.45
8.2.250.0040.00816.81
8.2.240.0160.00317.53
8.2.230.0030.00720.94
8.2.220.0050.00537.54
8.2.210.0090.00926.77
8.2.200.0030.00718.41
8.2.190.0040.01216.88
8.2.180.0070.01418.41
8.2.170.0110.00722.96
8.2.160.0100.00322.16
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0000.00726.16
8.2.120.0080.00021.19
8.2.110.0060.00321.09
8.2.100.0090.00318.09
8.2.90.0000.00822.27
8.2.80.0080.00020.41
8.2.70.0000.00818.16
8.2.60.0040.00418.03
8.2.50.0050.00318.10
8.2.40.0030.00619.17
8.2.30.0040.00419.34
8.2.20.0000.00818.03
8.2.10.0000.00718.09
8.2.00.0040.00418.40
8.1.330.0070.00222.22
8.1.320.0110.00816.31
8.1.310.0060.01218.71
8.1.300.0030.00616.90
8.1.290.0090.00030.84
8.1.280.0150.00325.92
8.1.270.0050.00320.29
8.1.260.0090.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00322.19
8.1.230.0070.00420.62
8.1.220.0040.00417.74
8.1.210.0040.00418.97
8.1.200.0040.00417.48
8.1.190.0000.00817.25
8.1.180.0000.00818.10
8.1.170.0000.00918.73
8.1.160.0040.00418.95
8.1.150.0040.00418.84
8.1.140.0070.00017.70
8.1.130.0000.00820.74
8.1.120.0000.00917.63
8.1.110.0110.00017.57
8.1.100.0050.00217.66
8.1.90.0060.00317.67
8.1.80.0000.00717.52
8.1.70.0000.00817.52
8.1.60.0030.00617.77
8.1.50.0000.00817.70
8.1.40.0040.00417.57
8.1.30.0000.00817.73
8.1.20.0000.00817.81
8.1.10.0000.00717.64
8.1.00.0000.00817.67
8.0.300.0000.00720.04
8.0.290.0050.00316.75
8.0.280.0000.00718.43
8.0.270.0070.00017.29
8.0.260.0000.00818.52
8.0.250.0000.00717.00
8.0.240.0070.00017.10
8.0.230.0040.00416.94
8.0.220.0000.00817.08
8.0.210.0000.00717.05
8.0.200.0040.00417.10
8.0.190.0070.00017.12
8.0.180.0080.00017.11
8.0.170.0090.00017.09
8.0.160.0030.00517.11
8.0.150.0000.00717.00
8.0.140.0080.00016.97
8.0.130.0000.00613.53
8.0.120.0070.00017.01
8.0.110.0050.00316.86
8.0.100.0040.00417.07
8.0.90.0040.00417.07
8.0.80.0140.01117.01
8.0.70.0050.00317.04
8.0.60.0000.00717.02
8.0.50.0070.00016.93
8.0.30.0080.01117.27
8.0.20.0120.01017.44
8.0.10.0000.00717.10
8.0.00.0100.00816.84
7.4.330.0030.00315.55
7.4.320.0060.00016.77
7.4.300.0000.00616.65
7.4.290.0040.00416.64
7.4.280.0000.00716.61
7.4.270.0000.00716.74
7.4.260.0000.00816.86
7.4.250.0050.00316.58
7.4.240.0070.00016.68
7.4.230.0070.00016.81
7.4.220.0080.00016.70
7.4.210.0060.01116.67
7.4.200.0000.00716.71
7.4.160.0130.00616.75
7.4.150.0070.01017.40
7.4.140.0110.00917.86
7.4.130.0060.01116.81
7.4.120.0110.00916.64
7.4.110.0120.00616.65
7.4.100.0040.01316.95
7.4.90.0170.00016.85
7.4.80.0140.00419.39
7.4.70.0090.01416.83
7.4.60.0030.01316.68
7.4.50.0070.01016.73
7.4.40.0090.00916.75
7.4.00.0130.00315.33
7.3.330.0000.00513.38
7.3.320.0050.00013.51
7.3.310.0030.00316.55
7.3.300.0030.00316.52
7.3.290.0070.00716.44
7.3.280.0070.00916.43
7.3.270.0130.00717.40
7.3.260.0120.00816.58
7.3.250.0120.00716.62
7.3.240.0080.01316.60
7.3.230.0130.00916.55
7.3.210.0080.00816.53
7.3.200.0070.01016.49
7.3.190.0110.00616.64
7.3.180.0060.00916.71
7.3.170.0110.00716.84
7.3.160.0090.01216.53
7.2.330.0060.01216.86
7.2.320.0090.00916.96
7.2.310.0000.01816.86
7.2.300.0000.01616.77
7.2.290.0090.00816.84
7.2.60.0090.00617.16
7.2.10.0510.01117.62
7.2.00.0240.01218.13
7.1.200.0090.00616.02
7.1.130.0210.01416.98
7.1.120.0240.01017.07
7.1.110.0220.01116.58
7.1.100.0180.01416.13
7.1.90.0360.00416.39
7.1.80.0230.01616.71
7.1.70.0330.00715.54
7.1.60.0590.01033.25
7.1.50.0390.01233.36
7.1.40.0320.01632.80
7.1.30.0480.01333.18
7.1.20.0350.01932.94
7.1.10.0320.00414.88
7.1.00.0360.00314.86

preferences:
29.82 ms | 403 KiB | 5 Q