3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emails = str_replace(' ','','ben@wearejh.com, john@wearejh.com, mike@wearejh.com'); $emails = preg_split('[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+\.[a-zA-Z]+','leowearejh.com'); var_dump($emails);

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.01418.31
8.3.50.0110.01022.04
8.3.40.0070.00718.77
8.3.30.0100.00318.85
8.3.20.0040.00420.29
8.3.10.0040.00421.65
8.3.00.0030.00717.38
8.2.180.0150.00416.38
8.2.170.0140.00022.96
8.2.160.0130.00020.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0070.00022.06
8.2.110.0090.00020.82
8.2.100.0000.01217.91
8.2.90.0090.00017.75
8.2.80.0090.00018.61
8.2.70.0030.00517.38
8.2.60.0060.00317.38
8.2.50.0030.00617.55
8.2.40.0040.00419.34
8.2.30.0040.00417.95
8.2.20.0040.00417.59
8.2.10.0040.00417.98
8.2.00.0090.00017.71
8.1.280.0150.00325.92
8.1.270.0060.00321.83
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0040.00423.84
8.1.230.0070.00419.00
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0050.00317.36
8.1.190.0000.00818.77
8.1.180.0050.00318.10
8.1.170.0070.00018.84
8.1.160.0080.00021.95
8.1.150.0030.00618.85
8.1.140.0040.00417.38
8.1.130.0030.00317.82
8.1.120.0000.00817.29
8.1.110.0030.00617.21
8.1.100.0000.00717.38
8.1.90.0000.00717.45
8.1.80.0000.00717.39
8.1.70.0000.00717.32
8.1.60.0050.00317.48
8.1.50.0000.00817.43
8.1.40.0040.00417.49
8.1.30.0030.00617.60
8.1.20.0040.00417.49
8.1.10.0000.00717.45
8.1.00.0030.00517.38
8.0.300.0000.00718.77
8.0.290.0040.00416.58
8.0.280.0000.00718.29
8.0.270.0040.00417.10
8.0.260.0060.00017.18
8.0.250.0000.00716.86
8.0.240.0070.00016.92
8.0.230.0070.00016.95
8.0.220.0030.00316.75
8.0.210.0030.00316.80
8.0.200.0030.00316.91
8.0.190.0030.00616.96
8.0.180.0000.00816.87
8.0.170.0040.00416.92
8.0.160.0040.00416.79
8.0.150.0030.00316.69
8.0.140.0040.00416.67
8.0.130.0000.00613.28
8.0.120.0030.00516.85
8.0.110.0070.00016.89
8.0.100.0040.00416.71
8.0.90.0040.00416.88
8.0.80.0090.00616.88
8.0.70.0040.00416.84
8.0.60.0000.00716.78
8.0.50.0050.00216.72
8.0.30.0050.01516.87
8.0.20.0080.01317.40
8.0.10.0060.00317.03
8.0.00.0120.00516.59
7.4.330.0030.00315.00
7.4.320.0030.00316.49
7.4.300.0030.00316.45
7.4.290.0030.00316.42
7.4.280.0040.00316.43
7.4.270.0000.00716.36
7.4.260.0070.00016.41
7.4.250.0030.00516.46
7.4.240.0000.00716.40
7.4.230.0000.00716.63
7.4.220.0060.01216.56
7.4.210.0100.01016.40
7.4.200.0030.00316.36
7.4.160.0060.00916.54
7.4.150.0100.00717.40
7.4.140.0090.01017.86
7.4.130.0100.01016.32
7.4.120.0100.00616.36
7.4.110.0030.01316.41
7.4.100.0070.01116.47
7.4.90.0100.00616.21
7.4.80.0110.01119.39
7.4.70.0110.00616.37
7.4.60.0070.01116.44
7.4.50.0040.00416.40
7.4.40.0070.01116.56
7.4.30.0070.01016.56
7.4.00.0040.01415.00
7.3.330.0060.00013.10
7.3.320.0030.00313.00
7.3.310.0000.00716.16
7.3.300.0030.00316.27
7.3.290.0030.01716.19
7.3.280.0070.01016.18
7.3.270.0170.00017.40
7.3.260.0130.00916.24
7.3.240.0100.00716.18
7.3.230.0140.00316.39
7.3.210.0100.00716.39
7.3.200.0120.00819.39
7.3.190.0140.00316.28
7.3.180.0100.00716.14
7.3.170.0120.00916.27
7.3.160.0100.00616.24
7.2.330.0030.01416.54
7.2.320.0150.00716.47
7.2.310.0130.00316.63
7.2.300.0070.00716.47
7.2.290.0150.00616.63
7.2.60.0030.00616.93
7.1.200.0030.00915.64
7.1.70.0000.00817.14
7.1.60.0110.01419.32
7.1.50.0060.01616.74
7.1.00.0030.07322.24
7.0.200.0030.00616.76
7.0.140.0100.07022.21
7.0.110.0130.05019.94
7.0.100.0100.05720.00
7.0.90.0030.04320.03
7.0.80.0030.05020.05
7.0.70.0030.04019.93
7.0.60.0030.04320.08
7.0.50.0000.04319.82
7.0.40.0000.05319.72
7.0.30.0070.03719.73
7.0.20.0070.04719.81
7.0.10.0070.04719.71
7.0.00.0100.03319.84
5.6.280.0100.06720.90
5.6.260.0070.07720.50
5.6.250.0030.08020.71
5.6.240.0070.04020.55
5.6.230.0070.04020.65
5.6.220.0000.04320.64
5.6.210.0000.04720.69
5.6.200.0000.04320.56
5.6.190.0000.04320.62
5.6.180.0030.04020.64
5.6.170.0030.03720.55
5.6.160.0070.03720.70
5.6.150.0070.03720.67
5.6.140.0070.03720.64
5.6.130.0030.03720.69
5.6.120.0100.05720.54
5.6.110.0000.04320.61
5.6.100.0070.05020.57
5.6.90.0030.05720.52
5.6.80.0130.07319.91
5.6.70.0030.03720.02
5.6.60.0030.04019.92
5.6.50.0130.03020.02
5.6.40.0130.03020.00
5.6.30.0000.04319.94
5.6.20.0000.04720.03
5.6.10.0070.03720.05
5.6.00.0030.03720.00
5.5.380.0200.05717.44
5.5.370.0070.03717.58
5.5.360.0030.04017.62
5.5.350.0030.03717.40
5.5.340.0070.03717.98
5.5.330.0030.04018.10
5.5.320.0030.04717.98
5.5.310.0000.04317.86
5.5.300.0070.04717.84
5.5.290.0030.05018.25
5.5.280.0070.03018.15
5.5.270.0000.05017.75
5.5.260.0000.03717.78
5.5.250.0030.05317.94
5.5.240.0030.03317.54
5.5.230.0100.04017.23
5.5.220.0070.03317.46
5.5.210.0070.04017.23
5.5.200.0070.03317.25
5.5.190.0100.03017.22
5.5.180.0100.03017.52
5.5.160.0000.04017.11
5.5.150.0130.05317.37
5.5.140.0030.04017.19
5.5.130.0030.03717.47
5.5.120.0030.07717.46
5.5.110.0100.03017.40
5.5.100.0070.06017.43
5.5.90.0070.03317.16
5.5.80.0030.04017.10
5.5.70.0070.03717.39
5.5.60.0100.03017.27
5.5.50.0070.03317.00
5.5.40.0030.03717.34
5.5.30.0000.06017.37
5.5.20.0100.03017.22
5.5.10.0000.04717.08
5.5.00.0000.04017.33
5.4.450.0100.04019.45
5.4.440.0100.04319.57
5.4.430.0100.06019.30
5.4.420.0070.03719.33
5.4.410.0130.03019.13
5.4.400.0030.06319.01
5.4.390.0130.07319.01
5.4.380.0030.03719.03
5.4.370.0000.04319.16
5.4.360.0000.04318.95
5.4.350.0100.03019.12
5.4.340.0000.04019.07
5.4.320.0030.04019.17
5.4.310.0070.04019.11
5.4.300.0100.04719.25
5.4.290.0100.07019.21
5.4.280.0000.05319.16
5.4.270.0030.05019.07
5.4.260.0100.03019.12
5.4.250.0100.03018.89
5.4.240.0070.03319.24
5.4.230.0100.03019.00
5.4.220.0000.03319.10
5.4.210.0000.04319.07
5.4.200.0000.04018.98
5.4.190.0070.04318.95
5.4.180.0030.06019.01
5.4.170.0100.03019.11
5.4.160.0000.07718.93
5.4.150.0130.07319.02
5.4.140.0030.05316.26
5.4.130.0100.03016.47
5.4.120.0000.04316.20
5.4.110.0030.04016.28
5.4.100.0030.05016.50
5.4.90.0070.03716.59
5.4.80.0000.04316.49
5.4.70.0070.03316.36
5.4.60.0030.03316.36
5.4.50.0000.03716.35
5.4.40.0070.03316.40
5.4.30.0000.03716.21
5.4.20.0000.03716.50
5.4.10.0000.04016.37
5.4.00.0030.03315.67
5.3.290.0070.03714.57
5.3.280.0030.04014.53
5.3.270.0030.07714.48
5.3.260.0030.03714.39
5.3.250.0030.03314.53
5.3.240.0100.04714.52
5.3.230.0030.03314.47
5.3.220.0000.04014.35
5.3.210.0130.04014.47
5.3.200.0100.03014.62
5.3.190.0070.05714.50
5.3.180.0000.04014.59
5.3.170.0070.03014.55
5.3.160.0000.04014.62
5.3.150.0000.03714.45
5.3.140.0070.03714.54
5.3.130.0030.03714.44
5.3.120.0030.03714.56
5.3.110.0030.04014.39
5.3.100.0070.03313.98
5.3.90.0070.03314.01
5.3.80.0030.03713.88
5.3.70.0070.03314.11
5.3.60.0030.05013.79
5.3.50.0070.07013.80
5.3.40.0030.06013.77
5.3.30.0070.03013.84
5.3.20.0070.07013.76
5.3.10.0000.03313.54
5.3.00.0130.06313.53
5.2.170.0030.06310.93
5.2.160.0070.05010.93
5.2.150.0070.04711.04
5.2.140.0030.06011.05
5.2.130.0030.03311.04
5.2.120.0030.02311.00
5.2.110.0030.05711.05
5.2.100.0000.04711.12
5.2.90.0130.05011.05
5.2.80.0130.04011.04
5.2.70.0070.06011.09
5.2.60.0000.03010.99
5.2.50.0030.02710.95
5.2.40.0130.04710.91
5.2.30.0030.02310.89
5.2.20.0000.03310.88
5.2.10.0070.05710.80
5.2.00.0070.05710.58
5.1.60.0000.02710.16
5.1.50.0030.0509.91
5.1.40.0030.0539.88
5.1.30.0000.06010.32
5.1.20.0070.05310.48
5.1.10.0030.05710.04
5.1.00.0070.04710.02
5.0.50.0070.0409.24
5.0.40.0000.0479.24
5.0.30.0030.0579.24
5.0.20.0030.0439.24
5.0.10.0030.0439.24
5.0.00.0070.0579.24
4.4.90.0000.0379.24
4.4.80.0070.0339.24
4.4.70.0030.0139.24
4.4.60.0000.0379.24
4.4.50.0000.0379.24
4.4.40.0030.0409.24
4.4.30.0000.0379.24
4.4.20.0000.0379.24
4.4.10.0030.0339.24
4.4.00.0030.0509.24
4.3.110.0030.0309.24
4.3.100.0070.0309.24
4.3.90.0000.0379.24
4.3.80.0070.0479.24
4.3.70.0000.0379.24
4.3.60.0000.0379.24
4.3.50.0100.0279.24
4.3.40.0000.0509.24
4.3.30.0070.0339.24
4.3.20.0000.0339.24
4.3.10.0000.0379.24
4.3.00.0000.0209.24

preferences:
45.72 ms | 401 KiB | 5 Q