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.40.0080.00818.83
8.3.30.0100.00320.33
8.3.20.0000.00820.30
8.3.10.0000.00820.80
8.3.00.0080.00022.47
8.2.170.0070.01422.96
8.2.160.0040.01122.24
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.77
8.2.110.0070.00320.25
8.2.100.0100.00317.85
8.2.90.0070.00018.03
8.2.80.0040.00419.39
8.2.70.0090.00017.63
8.2.60.0080.00017.80
8.2.50.0000.00818.07
8.2.40.0040.00418.13
8.2.30.0000.00719.43
8.2.20.0040.00417.61
8.2.10.0040.00417.88
8.2.00.0060.00317.80
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0060.00321.95
8.1.230.0070.00320.93
8.1.220.0050.00317.79
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0040.00417.18
8.1.180.0080.00018.10
8.1.170.0100.00018.62
8.1.160.0040.00418.83
8.1.150.0000.00818.65
8.1.140.0040.00417.57
8.1.130.0040.00417.83
8.1.120.0000.00817.45
8.1.110.0070.00017.41
8.1.100.0000.00717.45
8.1.90.0030.00517.54
8.1.80.0030.00417.57
8.1.70.0030.00317.52
8.1.60.0040.00417.67
8.1.50.0040.00417.51
8.1.40.0040.00417.66
8.1.30.0040.00417.72
8.1.20.0030.00517.71
8.1.10.0050.00317.52
8.1.00.0040.00417.46
8.0.300.0040.00420.08
8.0.290.0000.00816.93
8.0.280.0000.00718.39
8.0.270.0070.00017.25
8.0.260.0000.00716.87
8.0.250.0070.00016.96
8.0.240.0060.00316.88
8.0.230.0030.00516.93
8.0.220.0030.00316.83
8.0.210.0000.00717.02
8.0.200.0030.00516.92
8.0.190.0080.00017.09
8.0.180.0000.00716.92
8.0.170.0030.00516.89
8.0.160.0040.00416.92
8.0.150.0030.00616.85
8.0.140.0070.00316.85
8.0.130.0030.00313.34
8.0.120.0030.00516.91
8.0.110.0000.00716.90
8.0.100.0080.00016.82
8.0.90.0000.00716.84
8.0.80.0090.00616.93
8.0.70.0040.00416.92
8.0.60.0040.00416.81
8.0.50.0040.00417.02
8.0.30.0050.01317.14
8.0.20.0140.01617.40
8.0.10.0020.00517.03
8.0.00.0100.00816.88
7.4.330.0000.00516.75
7.4.320.0000.00716.65
7.4.300.0040.00416.65
7.4.290.0030.00316.63
7.4.280.0040.00416.66
7.4.270.0000.00616.62
7.4.260.0060.00313.43
7.4.250.0000.00716.66
7.4.240.0020.00516.69
7.4.230.0030.00316.81
7.4.220.0070.01116.72
7.4.210.0070.00716.80
7.4.200.0030.00316.71
7.4.190.0030.00316.78
7.4.160.0090.00616.46
7.4.150.0100.01017.40
7.4.140.0070.01017.86
7.4.130.0110.00716.55
7.4.120.0060.01416.74
7.4.110.0090.00616.64
7.4.100.0060.01116.64
7.4.90.0130.00316.44
7.4.80.0090.00619.39
7.4.70.0140.00316.51
7.4.60.0030.01416.55
7.4.50.0040.00416.54
7.4.40.0070.01022.77
7.4.30.0100.01016.54
7.4.00.0070.00915.00
7.3.330.0000.00513.15
7.3.320.0000.00613.11
7.3.310.0030.00316.32
7.3.300.0000.00716.13
7.3.290.0070.01116.32
7.3.280.0090.00816.26
7.3.270.0140.01017.40
7.3.260.0030.01518.24
7.3.250.0090.00716.63
7.3.240.0000.01716.32
7.3.230.0050.01316.39
7.3.210.0100.00716.52
7.3.200.0160.00619.39
7.3.190.0200.00016.28
7.3.180.0100.01016.39
7.3.170.0000.01616.50
7.3.160.0120.00916.26
7.3.120.0070.01014.86
7.3.110.0100.00514.89
7.3.100.0040.01114.87
7.3.90.0040.01114.84
7.3.80.0040.00714.75
7.3.70.0100.01014.77
7.3.60.0130.00014.95
7.3.50.0040.01114.64
7.3.40.0040.00814.88
7.3.30.0060.00614.85
7.3.20.0060.00316.60
7.3.10.0030.01016.71
7.3.00.0040.01116.62
7.2.330.0140.00516.68
7.2.320.0040.01316.62
7.2.310.0160.00816.79
7.2.300.0080.00816.81
7.2.290.0110.00716.82
7.2.250.0100.01015.14
7.2.240.0060.01215.21
7.2.230.0060.00915.16
7.2.220.0090.00314.80
7.2.210.0100.00615.00
7.2.200.0100.00315.18
7.2.190.0030.01214.90
7.2.180.0070.00715.13
7.2.170.0090.00615.01
7.2.00.0000.01419.33
7.1.330.0100.00715.88
7.1.320.0090.00615.72
7.1.310.0080.00615.74
7.1.300.0040.01115.72
7.1.290.0090.00615.76
7.1.280.0040.01116.04
7.1.270.0070.00715.89
7.1.260.0090.00015.67
7.1.200.0090.00315.75
7.1.100.0070.01018.43
7.1.70.0000.00817.20
7.1.60.0060.01919.17
7.1.50.0070.01116.91
7.1.00.0000.03722.36
7.0.200.0050.00216.61
7.0.140.0100.07022.09
7.0.80.0130.08319.87
7.0.70.0100.08719.91
7.0.60.0070.08319.88
7.0.50.0070.05720.31
7.0.40.0170.06720.11
7.0.30.0030.05320.15
7.0.20.0070.06320.04
7.0.10.0070.06720.13
7.0.00.0170.07319.99
5.6.280.0070.07021.09
5.6.230.0070.08720.53
5.6.220.0200.07320.60
5.6.210.0100.05020.74
5.6.200.0100.07021.17
5.6.190.0170.07721.13
5.6.180.0030.08721.09
5.6.170.0070.07320.92
5.6.160.0030.04321.04
5.6.150.0070.05721.07
5.6.140.0070.08321.07
5.6.130.0030.08721.07
5.6.120.0170.07020.93
5.6.110.0170.06720.94
5.6.100.0170.08021.05
5.6.90.0100.07021.02
5.6.80.0100.07020.33
5.6.70.0130.07020.48
5.6.60.0170.06720.42
5.6.50.0100.07320.46
5.6.40.0070.08020.28
5.6.30.0100.04320.32
5.6.20.0100.06320.52
5.6.10.0130.06320.46
5.6.00.0070.04320.38
5.5.370.0100.08020.41
5.5.360.0070.05320.34
5.5.350.0070.07720.36
5.5.340.0100.07020.73
5.5.330.0030.04720.71
5.5.320.0030.07720.85
5.5.310.0170.06720.94
5.5.300.0000.08720.91
5.5.290.0030.08020.88
5.5.280.0100.06720.78
5.5.270.0170.07720.90
5.5.260.0130.05320.79
5.5.250.0070.08320.59
5.5.240.0030.08020.15
5.5.230.0100.07320.29
5.5.220.0170.06720.13
5.5.210.0230.06320.24
5.5.200.0130.07319.99
5.5.190.0230.07320.16
5.5.180.0100.07320.21
5.5.160.0070.08020.14
5.5.150.0030.07020.27
5.5.140.0070.06720.13
5.5.130.0170.07020.27
5.5.120.0100.05320.10
5.5.110.0100.07320.23
5.5.100.0130.06720.06
5.5.90.0130.06720.10
5.5.80.0070.07719.94
5.5.70.0100.07720.02
5.5.60.0100.06020.15
5.5.50.0100.07020.05
5.5.40.0030.07019.95
5.5.30.0100.07020.07
5.5.20.0070.07020.01
5.5.10.0170.06020.00
5.5.00.0000.05719.99
5.4.450.0100.08019.45
5.4.440.0170.07019.42
5.4.430.0070.08019.15
5.4.420.0070.06319.26
5.4.410.0100.07019.22
5.4.400.0100.07319.23
5.4.390.0030.05719.07
5.4.380.0130.04719.07
5.4.370.0030.08319.23
5.4.360.0030.05019.03
5.4.350.0130.07019.14
5.4.340.0100.07719.03
5.4.320.0070.04719.23
5.4.310.0230.05319.18
5.4.300.0070.07019.18
5.4.290.0070.06719.12
5.4.280.0130.06719.06
5.4.270.0100.07318.97
5.4.260.0300.04018.94
5.4.250.0000.08319.02
5.4.240.0070.07719.13
5.4.230.0070.08319.24
5.4.220.0070.08018.96
5.4.210.0130.06319.13
5.4.200.0100.08019.12
5.4.190.0000.08019.11
5.4.180.0030.08018.89
5.4.170.0130.07319.19
5.4.160.0130.07318.79
5.4.150.0100.07718.94
5.4.140.0000.05716.28
5.4.130.0130.06716.27
5.4.120.0030.08016.26
5.4.110.0100.07316.31
5.4.100.0070.04316.30
5.4.90.0100.03716.42
5.4.80.0130.06016.41
5.4.70.0100.04716.24
5.4.60.0070.08016.23
5.4.50.0030.06716.32
5.4.40.0130.05716.46
5.4.30.0100.06316.17
5.4.20.0030.07716.41
5.4.10.0070.07016.29
5.4.00.0130.06315.71
5.3.290.0070.07714.50
5.3.280.0130.05314.59
5.3.270.0030.07314.46
5.3.260.0070.08314.54
5.3.250.0070.07314.46
5.3.240.0000.08014.57
5.3.230.0030.05014.54
5.3.220.0100.07014.40
5.3.210.0030.04714.52
5.3.200.0070.04714.41
5.3.190.0070.04314.55
5.3.180.0100.05714.57
5.3.170.0130.06314.42
5.3.160.0070.07314.47
5.3.150.0100.06714.52
5.3.140.0100.07714.46
5.3.130.0130.05714.55
5.3.120.0070.04314.50
5.3.110.0000.07714.55
5.3.100.0030.06713.88
5.3.90.0100.06713.88
5.3.80.0130.06713.87
5.3.70.0100.06714.00
5.3.60.0130.07013.86
5.3.50.0100.06313.90
5.3.40.0070.06013.93
5.3.30.0030.05713.86
5.3.20.0070.05713.64
5.3.10.0070.04713.64
5.3.00.0100.05013.39
5.2.170.0070.04011.98
5.2.160.0030.04311.98
5.2.150.0000.06711.98
5.2.140.0000.04011.98
5.2.130.0070.03011.98
5.2.120.0030.04711.98
5.2.110.0070.03011.98
5.2.100.0030.04311.98
5.2.90.0030.03011.98
5.2.80.0070.02711.98
5.2.70.0100.05311.98
5.2.60.0000.03311.98
5.2.50.0070.03011.98
5.2.40.0030.03711.98
5.2.30.0030.03711.98
5.2.20.0000.03011.98
5.2.10.0030.03011.98
5.2.00.0030.02711.98
5.1.60.0030.02311.98
5.1.50.0000.02711.98
5.1.40.0070.02011.98
5.1.30.0070.02311.98
5.1.20.0030.02711.98
5.1.10.0070.03011.98
5.1.00.0000.03011.98
5.0.50.0000.03311.98
5.0.40.0000.03011.98
5.0.30.0070.05311.98
5.0.20.0000.02011.98
5.0.10.0000.02711.98
5.0.00.0030.03711.98
4.4.90.0030.01311.98
4.4.80.0000.01711.98
4.4.70.0000.01711.98
4.4.60.0030.01311.98
4.4.50.0030.01311.98
4.4.40.0000.02311.98
4.4.30.0030.01711.98
4.4.20.0000.01711.98
4.4.10.0000.02011.98
4.4.00.0030.02711.98
4.3.110.0000.01711.98
4.3.100.0030.02711.98
4.3.90.0030.01011.98
4.3.80.0000.02311.98
4.3.70.0070.02711.98
4.3.60.0030.02711.98
4.3.50.0030.01011.98
4.3.40.0100.04311.98
4.3.30.0000.02311.98
4.3.20.0000.01711.98
4.3.10.0000.01711.98
4.3.00.0000.01311.98

preferences:
42.22 ms | 400 KiB | 5 Q