3v4l.org

run code in 500+ PHP versions simultaneously
<?php $re = '/\w+(?<=ab)(.*?)(?=xx)/m'; $str = '100abababab3x3x3xx1000morewords'; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); // Print the entire match result echo $matches[0][1];

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.5.30.0090.00821.31
8.5.20.0110.00619.46
8.5.10.0110.00816.86
8.5.00.0120.00920.32
8.4.180.0140.01119.89
8.4.170.0130.00923.45
8.4.160.0170.00723.32
8.4.150.0080.00416.91
8.4.140.0160.00717.59
8.4.130.0130.00817.89
8.4.120.0080.01120.86
8.4.110.0050.00522.44
8.4.100.0140.00718.04
8.4.90.0150.00722.27
8.4.80.0080.00317.90
8.4.70.0110.01018.28
8.4.60.0090.01118.74
8.4.50.0060.00518.38
8.4.40.0150.00619.74
8.4.30.0130.00617.96
8.4.20.0070.01420.45
8.4.10.0040.00419.83
8.3.300.0120.00919.36
8.3.290.0110.00821.00
8.3.280.0130.00818.54
8.3.270.0110.00816.47
8.3.260.0110.00816.73
8.3.250.0130.00519.11
8.3.240.0100.00916.54
8.3.230.0050.00516.47
8.3.220.0140.00418.86
8.3.210.0100.01018.48
8.3.200.0050.00316.39
8.3.190.0090.00718.78
8.3.180.0150.00416.77
8.3.170.0120.00317.25
8.3.160.0140.00620.18
8.3.150.0040.00417.24
8.3.140.0030.00516.69
8.3.130.0030.00618.63
8.3.120.0090.00020.71
8.3.110.0030.00520.94
8.3.100.0000.00824.06
8.3.90.0000.00726.77
8.3.80.0030.00619.36
8.3.70.0000.01516.75
8.3.60.0110.00718.68
8.3.50.0110.00318.30
8.3.40.0100.01018.96
8.3.30.0070.00718.79
8.3.20.0040.00418.89
8.3.10.0050.00321.71
8.3.00.0050.00320.97
8.2.300.0150.00618.24
8.2.290.0110.00820.50
8.2.280.0070.01318.63
8.2.270.0120.00818.97
8.2.260.0110.00418.31
8.2.250.0110.00416.90
8.2.240.0050.00319.10
8.2.230.0080.00022.58
8.2.220.0050.00537.54
8.2.210.0000.00726.77
8.2.200.0060.00618.88
8.2.190.0040.01217.00
8.2.180.0060.00925.92
8.2.170.0120.00419.26
8.2.160.0040.01422.96
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0000.00718.09
8.2.120.0080.00026.35
8.2.110.0030.00621.18
8.2.100.0040.00718.16
8.2.90.0050.00319.95
8.2.80.0060.00318.02
8.2.70.0040.00717.93
8.2.60.0000.00918.02
8.2.50.0000.00918.10
8.2.40.0060.00322.41
8.2.30.0040.00419.39
8.2.20.0030.00518.24
8.2.10.0040.00418.07
8.2.00.0000.00817.96
8.1.340.0110.00817.89
8.1.330.0100.00721.95
8.1.320.0100.00916.18
8.1.310.0070.00018.30
8.1.300.0060.00617.91
8.1.290.0000.00930.84
8.1.280.0130.00625.92
8.1.270.0080.00022.20
8.1.260.0090.00926.35
8.1.250.0100.00328.09
8.1.240.0100.00019.24
8.1.230.0040.00722.82
8.1.220.0090.00017.77
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0050.00317.22
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0040.00418.76
8.1.150.0040.00418.84
8.1.140.0030.00322.15
8.1.130.0000.00719.99
8.1.120.0070.00017.58
8.1.110.0040.00417.52
8.1.100.0050.00317.50
8.1.90.0000.00717.54
8.1.80.0040.00417.59
8.1.70.0040.00417.50
8.1.60.0040.00417.60
8.1.50.0050.00317.62
8.1.40.0000.00817.61
8.1.30.0040.00417.70
8.1.20.0000.01017.66
8.1.10.0030.00517.71
8.1.00.0000.00917.53
8.0.300.0050.00321.62
8.0.290.0030.00616.88
8.0.280.0000.00718.45
8.0.270.0040.00416.86
8.0.260.0040.00418.45
8.0.250.0030.00317.12
8.0.240.0000.00617.13
8.0.230.0040.00417.01
8.0.220.0030.00316.93
8.0.210.0070.00016.96
8.0.200.0060.00317.04
8.0.190.0030.00617.07
8.0.180.0050.00316.99
8.0.170.0040.00417.04
8.0.160.0040.00816.99
8.0.150.0070.00017.02
8.0.140.0000.00716.79
8.0.130.0060.00013.40
8.0.120.0080.00016.93
8.0.110.0040.00417.02
8.0.100.0000.00916.86
8.0.90.0040.00416.85
8.0.80.0080.00716.94
8.0.70.0000.00917.07
8.0.60.0040.00416.99
8.0.50.0070.00016.86
8.0.30.0170.00317.31
8.0.20.0100.01417.40
8.0.10.0000.00717.13
8.0.00.0110.00717.13
7.4.330.0030.00315.55
7.4.320.0030.00316.75
7.4.300.0000.00616.76
7.4.290.0000.00716.73
7.4.280.0000.00716.74
7.4.270.0030.00516.67
7.4.260.0000.00816.62
7.4.250.0030.00516.70
7.4.240.0060.00316.68
7.4.230.0030.00516.49
7.4.220.0070.00016.64
7.4.210.0100.00516.65
7.4.200.0000.00716.63
7.4.160.0080.01016.62
7.4.140.0100.00917.86
7.4.130.0050.01316.81
7.4.120.0080.00816.66
7.4.110.0120.00616.71
7.4.100.0070.01016.62
7.4.90.0140.00716.75
7.4.80.0210.00019.39
7.4.70.0100.00616.69
7.4.60.0110.00716.52
7.4.50.0050.01316.51
7.4.40.0120.01216.64
7.4.30.0110.01216.75
7.4.20.0130.00916.69
7.4.10.0110.00716.62
7.4.00.0110.00515.86
7.3.330.0000.00613.32
7.3.320.0030.00313.24
7.3.310.0000.00916.39
7.3.300.0030.00316.29
7.3.290.0050.00316.37
7.3.280.0090.01016.42
7.3.260.0100.00916.51
7.3.240.0090.00816.46
7.3.230.0080.00816.29
7.3.210.0040.01216.65
7.3.200.0070.01016.60
7.3.190.0090.01116.37
7.3.180.0120.00616.53
7.3.170.0110.00816.50
7.3.160.0060.01316.65
7.3.150.0110.01016.42
7.3.140.0100.00716.77
7.3.130.0060.01216.55
7.3.120.0200.00316.66
7.3.110.0080.00816.38
7.3.100.0090.00916.61
7.3.90.0090.00916.63
7.3.80.0080.00916.41
7.3.70.0030.01316.53
7.3.60.0090.01316.59
7.3.50.0040.01816.54
7.3.40.0200.00715.49
7.3.30.0110.00715.63
7.3.20.0130.01015.84
7.3.10.0110.00715.62
7.3.00.0110.01115.56
7.2.330.0090.00916.84
7.2.320.0070.01016.57
7.2.310.0110.00816.72
7.2.300.0120.00616.80
7.2.290.0070.01116.64
7.2.280.0120.01216.54
7.2.270.0090.01316.52
7.2.260.0100.01316.64
7.2.250.0090.00916.52
7.2.240.0130.00616.70
7.2.230.0140.00316.52
7.2.220.0070.01416.83
7.2.210.0030.01316.52
7.2.200.0120.00616.88
7.2.190.0100.01316.80
7.2.180.0180.00616.73
7.2.170.0100.01015.82
7.2.160.0130.00815.80
7.2.150.0100.01115.92
7.2.140.0170.00715.88
7.2.130.0240.00415.80
7.2.120.0190.00815.55
7.2.110.0130.01215.61
7.2.100.0260.00515.53
7.2.90.0170.01315.33
7.2.80.0180.00715.65
7.2.70.0120.01115.81
7.2.60.0160.00815.83
7.2.50.0180.00915.73
7.2.40.0390.01315.78
7.2.30.0140.01015.73
7.2.20.0200.00515.60
7.2.10.0170.00815.73
7.2.00.0190.01215.70
7.1.330.0240.01015.98
7.1.320.0290.00415.85
7.1.310.0210.01015.89
7.1.300.0230.00715.61
7.1.290.0280.00515.83
7.1.280.0200.00914.92
7.1.270.0150.01014.88
7.1.260.0170.01414.87
7.1.250.0210.01014.79
7.1.240.0190.00814.45
7.1.230.0250.01014.57
7.1.220.0220.00814.60
7.1.210.0250.00714.50
7.1.200.0250.00814.52
7.1.190.0280.00514.50
7.1.180.0190.00914.60
7.1.170.0230.00814.65
7.1.160.0150.01214.56
7.1.150.0190.01014.72
7.1.140.0210.00714.44
7.1.130.0390.00614.55
7.1.120.0230.00914.62
7.1.110.0220.00814.65
7.1.100.0230.00814.54
7.1.90.0210.01214.65
7.1.80.0220.00714.67
7.1.70.0250.00714.63
7.1.60.0530.00914.63
7.1.50.0230.01014.60
7.1.40.0220.00814.66
7.1.30.0190.00714.52
7.1.20.0240.00514.61
7.1.10.0150.01414.57
7.1.00.0240.00614.54
7.0.330.0250.01114.40
7.0.320.0140.01915.42
7.0.310.0230.01115.22
7.0.300.0290.00315.31
7.0.290.0290.00415.26
7.0.280.0340.00315.04
7.0.270.0190.01615.20
7.0.260.0260.00415.44
7.0.250.0240.00815.31
7.0.240.0250.00715.27
7.0.230.0230.00915.55
7.0.220.0340.01215.45
7.0.210.0240.00815.36
7.0.200.0200.01315.35
7.0.190.0250.00715.29
7.0.180.0190.01215.40
7.0.170.0140.01815.25
7.0.160.0220.01515.25
7.0.150.0270.00515.36
7.0.140.0340.00015.46
7.0.130.0240.01415.28
7.0.120.0160.01615.34
7.0.110.0280.01115.27
7.0.100.0190.01415.26
7.0.90.0250.00915.19
7.0.80.0260.00915.52
7.0.70.0250.00915.27
7.0.60.0240.00715.15
7.0.50.0230.00915.41
7.0.40.0240.00815.23
7.0.30.0320.01115.16
7.0.20.0230.00815.25
7.0.10.0220.01115.30
7.0.00.0320.00015.40
5.6.400.0200.01315.21
5.6.390.0220.00915.05
5.6.380.0150.00714.89
5.6.370.0250.01215.96
5.6.360.0170.01715.89
5.6.350.0230.01516.13
5.6.340.0280.00316.09
5.6.330.0300.00716.27
5.6.320.0190.01815.66
5.6.310.0260.00415.69
5.6.300.0180.01415.94
5.6.290.0240.00916.17
5.6.280.0190.01516.23
5.6.270.0300.00716.20
5.6.260.0270.01516.02
5.6.250.0270.01015.95
5.6.240.0230.01315.80
5.6.230.0250.00915.69
5.6.220.0210.01615.96
5.6.210.0240.01416.05
5.6.200.0170.01715.96
5.6.190.0230.00815.95
5.6.180.0140.01715.90
5.6.170.0310.00315.88
5.6.160.0220.01415.91
5.6.150.0280.00715.92
5.6.140.0230.01016.05
5.6.130.0180.01116.13
5.6.120.0200.01015.79
5.6.110.0270.01015.91
5.6.100.0200.01416.04
5.6.90.0230.01216.11
5.6.80.0180.01515.68
5.6.70.0160.01615.87
5.6.60.0190.01415.88
5.6.50.0170.01515.92
5.6.40.0200.01215.64
5.6.30.0170.01215.91
5.6.20.0190.01115.91
5.6.10.0150.01515.88
5.6.00.0220.01015.83

preferences:
110.77 ms | 1941 KiB | 5 Q