3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'email already exists\r\n\r\nsuccess\r\n\r\ncoreg_status:duplicate\r\n\r\nlead_status:success\r\n'; $test = str_replace("\\r\\n", "\n", $str); $hmm = explode("\n", $test); var_dump($hmm);

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.01316.50
8.3.50.0080.01021.09
8.3.40.0040.01118.72
8.3.30.0070.00718.84
8.3.20.0050.00220.07
8.3.10.0070.00023.64
8.3.00.0040.00419.13
8.2.180.0160.00316.50
8.2.170.0110.00422.96
8.2.160.0130.00320.38
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.70
8.2.110.0070.00319.39
8.2.100.0110.00017.84
8.2.90.0030.00519.08
8.2.80.0090.00017.97
8.2.70.0050.00517.63
8.2.60.0000.00818.04
8.2.50.0080.00018.07
8.2.40.0000.00919.73
8.2.30.0030.00517.99
8.2.20.0040.00417.65
8.2.10.0000.00717.92
8.2.00.0000.01017.54
8.1.280.0110.00425.92
8.1.270.0030.00523.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0130.00321.29
8.1.230.0070.00417.42
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00418.52
8.1.160.0040.00421.78
8.1.150.0040.00418.62
8.1.140.0050.00217.48
8.1.130.0000.00817.80
8.1.120.0000.00817.43
8.1.110.0030.00417.34
8.1.100.0040.00717.41
8.1.90.0000.01017.29
8.1.80.0040.00417.43
8.1.70.0030.00317.32
8.1.60.0000.00717.56
8.1.50.0040.00417.43
8.1.40.0040.00417.47
8.1.30.0050.00317.51
8.1.20.0050.00217.40
8.1.10.0040.00417.38
8.1.00.0070.00017.35
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0030.00318.28
8.0.270.0000.00717.25
8.0.260.0030.00517.16
8.0.250.0000.00716.90
8.0.240.0000.00616.77
8.0.230.0030.00316.80
8.0.220.0040.00416.71
8.0.210.0030.00316.84
8.0.200.0040.00416.85
8.0.190.0040.00416.89
8.0.180.0070.00416.72
8.0.170.0040.00416.74
8.0.160.0040.00416.79
8.0.150.0000.00816.82
8.0.140.0040.00416.77
8.0.130.0030.00313.25
8.0.120.0000.00816.77
8.0.110.0040.00416.80
8.0.100.0080.00016.76
8.0.90.0080.00016.62
8.0.80.0070.01316.70
8.0.70.0040.00416.77
8.0.60.0030.00516.71
8.0.50.0000.00716.59
8.0.30.0090.01116.97
8.0.20.0120.00717.40
8.0.10.0050.00316.82
8.0.00.0100.01116.58
7.4.330.0000.00415.00
7.4.320.0030.00316.47
7.4.300.0060.00016.43
7.4.290.0030.00316.44
7.4.280.0000.00716.52
7.4.270.0080.00016.57
7.4.260.0030.00316.45
7.4.250.0040.00416.53
7.4.240.0050.00216.51
7.4.230.0030.00316.59
7.4.220.0100.00716.40
7.4.210.0090.00616.50
7.4.200.0070.00016.43
7.4.190.0030.00316.59
7.4.160.0060.00916.41
7.4.150.0110.00817.40
7.4.140.0100.00717.86
7.4.130.0130.00416.33
7.4.120.0090.00816.35
7.4.110.0140.00316.57
7.4.100.0100.00716.31
7.4.90.0060.01216.34
7.4.80.0070.01019.39
7.4.70.0150.00716.38
7.4.60.0120.00416.21
7.4.50.0030.00516.36
7.4.40.0060.00922.77
7.4.30.0160.00016.14
7.4.00.0080.00614.96
7.3.330.0020.00213.02
7.3.320.0050.00013.00
7.3.310.0070.00016.17
7.3.300.0000.00716.14
7.3.290.0090.00616.24
7.3.280.0110.00716.18
7.3.270.0090.00917.40
7.3.260.0040.01416.37
7.3.250.0080.00916.32
7.3.240.0070.01616.28
7.3.230.0090.00616.39
7.3.210.0120.01116.53
7.3.200.0100.01119.39
7.3.190.0130.01016.12
7.3.180.0060.00916.16
7.3.170.0120.01216.27
7.3.160.0080.01316.17
7.3.120.0070.00714.59
7.3.110.0110.00714.93
7.3.100.0120.00314.62
7.3.90.0030.01014.41
7.3.80.0070.00714.80
7.3.70.0110.00014.57
7.3.60.0070.01014.38
7.3.50.0100.00614.71
7.3.40.0030.01014.32
7.3.30.0070.01014.44
7.3.20.0030.01016.38
7.3.10.0090.00616.46
7.3.00.0020.01316.61
7.2.330.0110.00816.20
7.2.320.0170.00016.29
7.2.310.0100.00716.51
7.2.300.0140.00316.25
7.2.290.0120.00616.35
7.2.250.0060.01315.05
7.2.240.0130.00615.07
7.2.230.0000.01514.72
7.2.220.0100.00314.93
7.2.210.0040.01114.86
7.2.200.0120.00314.68
7.2.190.0110.00314.50
7.2.180.0060.00314.88
7.2.170.0090.00615.13
7.2.130.0000.01516.71
7.2.120.0080.00816.45
7.2.110.0030.01316.79
7.2.100.0090.00616.78
7.2.90.0040.01116.93
7.2.80.0070.00716.74
7.2.70.0030.01416.69
7.2.60.0070.00316.33
7.2.50.0060.00616.90
7.2.40.0070.01016.44
7.2.30.0040.00816.25
7.2.20.0100.00316.70
7.2.10.0160.00016.36
7.2.00.0030.00917.89
7.1.330.0060.00915.50
7.1.320.0090.00015.91
7.1.310.0030.00715.79
7.1.300.0030.01015.32
7.1.290.0100.00315.79
7.1.280.0040.00815.42
7.1.270.0000.01215.64
7.1.260.0070.00715.60
7.1.250.0030.01015.56
7.1.100.0090.00618.25
7.1.70.0120.00317.06
7.1.60.0060.01819.46
7.1.50.0070.01416.88
7.1.00.0030.07722.48
7.0.200.0030.00616.64
7.0.140.0030.07322.10
7.0.60.0030.07319.99
7.0.50.0070.08017.83
7.0.40.0100.05020.12
7.0.30.0330.04720.24
7.0.20.0300.05320.12
7.0.10.0070.05320.19
7.0.00.0130.07020.01
5.6.280.0100.06720.77
5.6.210.0100.08020.74
5.6.200.0100.07318.24
5.6.190.0070.04020.43
5.6.180.0270.07020.33
5.6.170.0270.04720.50
5.6.160.0100.08720.51
5.6.150.0170.03318.21
5.6.140.0030.07018.17
5.6.130.0070.07318.08
5.6.120.0030.04021.11
5.6.110.0130.08721.03
5.6.100.0000.09021.18
5.6.90.0100.04020.94
5.6.80.0070.08720.41
5.6.70.4570.03320.39
5.5.350.0270.07320.40
5.5.340.0070.06717.89
5.5.330.0070.08320.56
5.5.320.0300.08720.24
5.5.310.0170.05020.20
5.5.300.0100.08017.98
5.5.290.0070.08717.96
5.5.280.0070.08720.86
5.5.270.0130.03320.85
5.5.260.0070.07020.88
5.5.250.0130.07020.69
5.5.240.0330.07020.06
5.4.450.0600.06019.45
5.4.440.0670.05319.46
5.4.430.0770.05019.30
5.4.420.0870.07019.30
5.4.410.0970.06018.98
5.4.400.0700.05719.14
5.4.390.0100.05319.24
5.4.380.0330.05718.74
5.4.370.0300.05318.68
5.4.360.0530.05718.65
5.4.350.0400.04718.78
5.4.340.0230.06718.72
5.4.320.0050.03912.45
5.4.310.0030.04412.45
5.4.300.0040.03912.45
5.4.290.0030.04012.43
5.4.280.0090.03212.33
5.4.270.0090.03312.33
5.4.260.0050.03912.33
5.4.250.0060.05412.33
5.4.240.0050.04512.33
5.4.230.0050.03812.32
5.4.220.0080.03612.32
5.4.210.0060.03412.32
5.4.200.0050.04112.32
5.4.190.0060.03512.32
5.4.180.0040.03712.32
5.4.170.0030.03912.33
5.4.160.0090.03212.32
5.4.150.0060.03612.32
5.4.140.0070.03612.01
5.4.130.0050.03512.00
5.4.120.0010.04011.95
5.4.110.0060.03511.95
5.4.100.0040.03711.95
5.4.90.0070.03511.95
5.4.80.0080.03511.95
5.4.70.0070.03411.95
5.4.60.0040.03711.95
5.4.50.0050.03611.94
5.4.40.0050.03511.93
5.4.30.0070.03411.93
5.4.20.0030.03811.93
5.4.10.0040.03611.93
5.4.00.0060.03911.42
5.3.290.0060.04112.80
5.3.280.0070.03712.70
5.3.270.0050.04112.72
5.3.260.0030.04212.72
5.3.250.0050.03812.72
5.3.240.0070.03612.72
5.3.230.0080.03912.71
5.3.220.0090.03412.68
5.3.210.0040.04012.68
5.3.200.0080.03612.68
5.3.190.0080.03612.68
5.3.180.0070.03612.68
5.3.170.0050.03812.67
5.3.160.0060.03712.67
5.3.150.0050.04012.68
5.3.140.0080.03612.66
5.3.130.0060.04112.66
5.3.120.0060.03912.66
5.3.110.0080.03712.66
5.3.100.0050.03912.12
5.3.90.0030.04012.08
5.3.80.0080.03612.08
5.3.70.0080.03512.07
5.3.60.0070.03612.06
5.3.50.0100.03712.00
5.3.40.0100.04612.00
5.3.30.0110.04111.94
5.3.20.0060.03611.72
5.3.10.0080.03211.69
5.3.00.0080.03411.68
5.2.170.0060.0369.18
5.2.160.0040.0319.18
5.2.150.0060.0299.18
5.2.140.0020.0339.18
5.2.130.0050.0319.13
5.2.120.0040.0309.13
5.2.110.0060.0299.14
5.2.100.0050.0299.14
5.2.90.0070.0289.14
5.2.80.0030.0349.13
5.2.70.0050.0319.14
5.2.60.0050.0319.09
5.2.50.0060.0309.05
5.2.40.0040.0309.03
5.2.30.0080.0289.01
5.2.20.0030.0309.00
5.2.10.0040.0288.92
5.2.00.0030.0308.78
5.1.60.0030.0258.06
5.1.50.0010.0318.06
5.1.40.0070.0218.04
5.1.30.0040.0258.39
5.1.20.0030.0278.41
5.1.10.0060.0238.14
5.1.00.0030.0268.13
5.0.50.0030.0206.62
5.0.40.0050.0266.47
5.0.30.0040.0316.29
5.0.20.0030.0196.26
5.0.10.0020.0216.23
5.0.00.0060.0306.23
4.4.90.0030.0184.77
4.4.80.0010.0234.75
4.4.70.0060.0134.76
4.4.60.0040.0154.75
4.4.50.0040.0154.77
4.4.40.0030.0254.71
4.4.30.0020.0164.76
4.4.20.0000.0184.85
4.4.10.0050.0134.85
4.4.00.0040.0234.76
4.3.110.0050.0174.67
4.3.100.0050.0124.66
4.3.90.0010.0164.63
4.3.80.0050.0234.58
4.3.70.0020.0154.63
4.3.60.0020.0154.62
4.3.50.0020.0164.62
4.3.40.0020.0244.54
4.3.30.0030.0153.29
4.3.20.0020.0163.26
4.3.10.0020.0153.22
4.3.00.0370.03310.54

preferences:
53.16 ms | 401 KiB | 5 Q