3v4l.org

run code in 300+ PHP versions simultaneously
<?php $words = "systematic,gear,synthesis,mysterious"; $words=explode(",",$words); $your_array = preg_grep("/^(^s|^m|^e)$/", $words); print_r($your_array);

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.0160.00318.05
8.3.50.0080.01021.15
8.3.40.0110.00418.83
8.3.30.0140.00020.32
8.3.20.0040.00420.14
8.3.10.0040.00420.94
8.3.00.0060.00322.46
8.2.180.0080.00616.63
8.2.170.0110.00722.96
8.2.160.0100.00320.52
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00420.80
8.2.110.0100.00019.39
8.2.100.0150.00817.64
8.2.90.0040.00419.23
8.2.80.0060.00319.21
8.2.70.0000.00817.75
8.2.60.0040.00717.93
8.2.50.0040.00418.07
8.2.40.0000.00918.03
8.2.30.0000.00719.48
8.2.20.0060.00317.64
8.2.10.0000.00817.86
8.2.00.0070.00017.88
8.1.280.0040.01125.92
8.1.270.0000.00723.99
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0090.00023.96
8.1.230.0080.00420.80
8.1.220.0030.00618.77
8.1.210.0000.01119.02
8.1.200.0000.01017.47
8.1.190.0040.00417.41
8.1.180.0080.00018.10
8.1.170.0050.00318.77
8.1.160.0040.00418.86
8.1.150.0030.00518.70
8.1.140.0000.00917.40
8.1.130.0070.00017.89
8.1.120.0000.00717.50
8.1.110.0030.00517.43
8.1.100.0000.00717.53
8.1.90.0020.00517.44
8.1.80.0040.00417.54
8.1.70.0040.00417.45
8.1.60.0040.00417.71
8.1.50.0050.00217.63
8.1.40.0070.00017.61
8.1.30.0030.00617.71
8.1.20.0050.00317.65
8.1.10.0050.00317.61
8.1.00.0040.00417.48
8.0.300.0000.00719.81
8.0.290.0040.00417.05
8.0.280.0030.00318.31
8.0.270.0030.00317.21
8.0.260.0000.00616.88
8.0.250.0030.00617.05
8.0.240.0040.00416.98
8.0.230.0030.00317.02
8.0.220.0000.00816.99
8.0.210.0030.00417.01
8.0.200.0000.00717.07
8.0.190.0070.00017.09
8.0.180.0040.00417.00
8.0.170.0040.00417.05
8.0.160.0030.00316.87
8.0.150.0070.00017.03
8.0.140.0020.01116.88
8.0.130.0050.00013.34
8.0.120.0030.00517.00
8.0.110.0000.00716.87
8.0.100.0040.00416.84
8.0.90.0070.00016.98
8.0.80.0090.00616.99
8.0.70.0070.00016.91
8.0.60.0030.00516.77
8.0.50.0000.00716.81
8.0.30.0100.01017.10
8.0.20.0050.01817.40
8.0.10.0000.00717.00
8.0.00.0110.01116.76
7.4.330.0000.00616.73
7.4.320.0030.00316.64
7.4.300.0000.00616.68
7.4.290.0070.00016.76
7.4.280.0000.00716.72
7.4.270.0000.00816.61
7.4.260.0080.00013.40
7.4.250.0000.00716.48
7.4.240.0040.00416.66
7.4.230.0030.00316.85
7.4.220.0100.01716.77
7.4.210.0070.00716.72
7.4.200.0040.00316.72
7.4.190.0000.00716.70
7.4.160.0080.00816.57
7.4.150.0100.01617.40
7.4.140.0060.01317.86
7.4.130.0140.00616.72
7.4.120.0090.00816.44
7.4.110.0100.01316.59
7.4.100.0060.00916.77
7.4.90.0080.00816.51
7.4.80.0090.00619.39
7.4.70.0110.00516.88
7.4.60.0040.01516.49
7.4.50.0000.00816.59
7.4.40.0090.00622.77
7.4.30.0160.00016.65
7.4.00.0090.00615.11
7.3.330.0060.00013.03
7.3.320.0030.00313.06
7.3.310.0030.00516.33
7.3.300.0000.00716.27
7.3.290.0040.01116.36
7.3.280.0050.01116.26
7.3.270.0070.01117.40
7.3.260.0120.00618.24
7.3.250.0130.00816.44
7.3.240.0060.01216.59
7.3.230.0060.01216.57
7.3.210.0120.00416.74
7.3.200.0120.00919.39
7.3.190.0210.01016.46
7.3.180.0100.00716.30
7.3.170.0060.01016.27
7.3.160.0060.01216.53
7.3.120.0100.00715.11
7.3.110.0060.00915.04
7.3.100.0040.01114.77
7.3.90.0070.00714.73
7.3.80.0070.00714.83
7.3.70.0110.00414.67
7.3.60.0030.01014.73
7.3.50.0000.01414.54
7.3.40.0120.00314.72
7.3.30.0060.00914.77
7.3.20.0000.01316.50
7.3.10.0030.01116.60
7.3.00.0090.00316.76
7.2.330.0070.01016.63
7.2.320.0090.00916.79
7.2.310.0090.00916.60
7.2.300.0030.01316.72
7.2.290.0060.01016.70
7.2.240.0110.00715.16
7.2.230.0060.00614.93
7.2.220.0070.01015.28
7.2.210.0030.01414.98
7.2.200.0000.01614.95
7.2.190.0060.00615.06
7.2.180.0070.01015.02
7.2.170.0060.01015.18
7.2.160.0060.00615.06
7.2.150.0070.00716.89
7.2.140.0000.01616.98
7.2.130.0100.00717.12
7.2.120.0070.00717.00
7.2.110.0060.01017.12
7.2.100.0090.00916.67
7.2.90.0030.01216.87
7.2.80.0000.01416.87
7.2.70.0060.01016.76
7.2.60.0020.01316.86
7.2.50.0070.01017.09
7.2.40.0070.00317.04
7.2.30.0060.00917.04
7.2.20.0090.00316.98
7.2.10.0030.01016.68
7.2.00.0080.00518.24
7.1.330.0060.00915.76
7.1.320.0030.01315.79
7.1.310.0000.01016.02
7.1.300.0100.00315.92
7.1.290.0050.01015.93
7.1.280.0100.00715.84
7.1.270.0120.00315.80
7.1.260.0060.00615.87
7.1.250.0030.00816.05
7.1.200.0030.01015.98
7.1.100.0060.01018.21
7.1.70.0030.00917.26
7.1.60.0090.01519.17
7.1.50.0170.02034.90
7.1.00.0030.07022.47
7.0.200.0100.00016.53
7.0.140.0030.07721.92
7.0.60.0200.05320.01
7.0.50.0000.04317.89
7.0.40.0200.07720.22
7.0.30.0300.08320.18
7.0.20.0270.08020.18
7.0.10.0100.08720.18
7.0.00.0100.07320.32
5.6.280.0000.07721.12
5.6.210.0000.05020.68
5.6.200.0070.04018.22
5.6.190.0100.03720.41
5.6.180.0270.04720.43
5.6.170.0330.07320.43
5.6.160.0070.08320.44
5.6.150.0030.08318.17
5.6.140.0100.06718.21
5.6.130.0030.07018.17
5.6.120.0070.08321.04
5.6.110.0100.07721.11
5.6.100.0170.06721.00
5.6.90.0030.06021.02
5.6.80.0000.04320.28
5.5.350.0200.07020.39
5.5.340.0070.07317.88
5.5.330.0070.08020.13
5.5.320.0370.07720.34
5.5.310.0270.08020.14
5.5.300.0030.07717.97
5.5.290.0000.06718.02
5.5.280.0100.07720.88
5.5.270.0100.05320.94
5.5.260.0100.08320.75
5.5.250.0030.04320.57
5.5.240.0070.07020.27
5.4.450.0130.07319.13
5.4.440.0000.07319.20
5.4.430.0000.07319.42
5.4.420.0070.06019.57
5.4.410.0000.06319.01
5.4.400.0070.05018.75
5.4.390.0130.03718.88
5.4.380.0000.06318.93
5.4.370.0100.06719.16
5.4.360.0070.07319.16
5.4.350.0030.07719.25
5.4.340.0100.07319.10
5.4.320.0030.04718.79
5.4.310.0000.07319.08
5.4.300.0000.05719.11
5.4.290.0100.04019.08
5.4.280.0030.07718.91
5.4.270.0030.06719.13
5.4.260.0070.03319.24
5.4.250.0000.04718.81
5.4.240.0030.07319.12
5.4.230.0070.07719.08
5.4.220.0030.08019.08
5.4.210.0070.05719.06
5.4.200.0070.07319.08
5.4.190.0030.08019.12
5.4.180.0000.08019.23
5.4.170.0070.04718.92
5.4.160.0030.07319.05
5.4.150.0030.05019.05
5.4.140.0030.07716.16
5.4.130.0070.04716.16
5.4.120.0130.05716.54
5.4.110.0130.05716.38
5.4.100.0030.07016.41
5.4.90.0030.07316.21
5.4.80.0000.07716.30
5.4.70.0000.07716.39
5.4.60.0000.07716.39
5.4.50.0030.04716.20
5.4.40.0000.06716.04
5.4.30.0070.06016.26
5.4.20.0070.06316.40
5.4.10.0000.05716.43
5.4.00.0030.05015.76
5.3.290.0030.07714.51
5.3.280.0000.06714.45
5.3.270.0030.07714.46
5.3.260.0030.07714.45
5.3.250.0070.04314.55
5.3.240.0000.06014.44
5.3.230.0030.07714.54
5.3.220.0070.06714.54
5.3.210.0030.07314.59
5.3.200.0000.04714.39
5.3.190.0000.07714.61
5.3.180.0030.06314.39
5.3.170.0030.07714.50
5.3.160.0030.07014.39
5.3.150.0000.05314.64
5.3.140.0000.05714.39
5.3.130.0000.07314.57
5.3.120.0070.07714.38
5.3.110.0000.06714.40
5.3.100.0030.05313.98
5.3.90.0000.07713.89
5.3.80.0030.06013.85
5.3.70.0000.07013.86
5.3.60.0030.06013.85
5.3.50.0000.07013.89
5.3.40.0000.06714.01
5.3.30.0070.05013.84
5.3.20.0070.05013.64
5.3.10.0000.05313.61
5.3.00.0000.07713.72
5.2.170.0000.05712.36
5.2.160.0000.05312.36
5.2.150.0000.05012.36
5.2.140.0000.04012.36
5.2.130.0030.05012.36
5.2.120.0000.05712.36
5.2.110.0030.04712.36
5.2.100.0030.05312.36
5.2.90.0000.05012.36
5.2.80.0000.05312.36
5.2.70.0000.06712.36
5.2.60.0000.03712.36
5.2.50.0030.05012.36
5.2.40.0030.06312.36
5.2.30.0000.04312.36
5.2.20.0070.06312.36
5.2.10.0030.03712.36
5.2.00.0000.04712.36
5.1.60.0000.05712.36
5.1.50.0070.04712.36
5.1.40.0000.05712.36
5.1.30.0030.03712.36
5.1.20.0030.04712.36
5.1.10.0000.03012.36
5.1.00.0030.02312.36
5.0.50.0030.01712.36
5.0.40.0000.02012.36
5.0.30.0000.03012.36
5.0.20.0030.04312.36
5.0.10.0000.02012.36
5.0.00.0000.03012.36
4.4.90.0000.02712.36
4.4.80.0000.03712.36
4.4.70.0030.03312.36
4.4.60.0030.01712.36
4.4.50.0030.01712.36
4.4.40.0000.05712.36
4.4.30.0070.03012.36
4.4.20.0030.01712.36
4.4.10.0030.01312.36
4.4.00.0000.02312.36
4.3.110.0030.01312.36
4.3.100.0000.01712.36
4.3.90.0030.01312.36
4.3.80.0000.02312.36
4.3.70.0030.01012.36
4.3.60.0000.01312.36
4.3.50.0000.01312.36
4.3.40.0030.02012.36
4.3.30.0000.01712.36
4.3.20.0000.01712.36
4.3.10.0000.01312.36
4.3.00.0000.01712.36

preferences:
53.07 ms | 401 KiB | 5 Q