3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "Hi, My name is firas. second sentence. third. yeah"; $sentences = explode('.', $text); var_dump( $text);

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.0150.00016.63
8.3.50.0080.01116.47
8.3.40.0140.00318.54
8.3.30.0030.01218.51
8.3.20.0050.00318.63
8.3.10.0080.00018.60
8.3.00.0030.00617.37
8.2.180.0140.00416.63
8.2.170.0120.00322.96
8.2.160.0060.00918.83
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00021.06
8.2.110.0100.00021.00
8.2.100.0040.00817.72
8.2.90.0040.00418.22
8.2.80.0000.00718.09
8.2.70.0030.00517.50
8.2.60.0040.00417.50
8.2.50.0040.00417.38
8.2.40.0060.00319.35
8.2.30.0060.00317.66
8.2.20.0030.00617.60
8.2.10.0000.00717.67
8.2.00.0040.00417.75
8.1.280.0090.00625.92
8.1.270.0050.00223.99
8.1.260.0050.00226.35
8.1.250.0030.00528.09
8.1.240.0000.00823.92
8.1.230.0070.00422.55
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0040.00417.36
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0050.00217.62
8.1.160.0060.00318.56
8.1.150.0060.00318.46
8.1.140.0040.00417.34
8.1.130.0030.00317.25
8.1.120.0050.00317.29
8.1.110.0040.00317.41
8.1.100.0040.00417.27
8.1.90.0040.00417.38
8.1.80.0000.00717.29
8.1.70.0000.00717.25
8.1.60.0030.00517.47
8.1.50.0000.00817.44
8.1.40.0000.00817.34
8.1.30.0030.00617.57
8.1.20.0040.00417.57
8.1.10.0000.00717.41
8.1.00.0040.00417.39
8.0.300.0000.00819.84
8.0.290.0020.00516.63
8.0.280.0000.00718.00
8.0.270.0030.00317.10
8.0.260.0040.00416.77
8.0.250.0000.00716.78
8.0.240.0000.00716.87
8.0.230.0050.00216.87
8.0.220.0040.00416.80
8.0.210.0070.00016.82
8.0.200.0000.00716.88
8.0.190.0060.00316.92
8.0.180.0040.00416.67
8.0.170.0000.01016.88
8.0.160.0080.00016.87
8.0.150.0080.00016.75
8.0.140.0040.00416.84
8.0.130.0000.00513.23
8.0.120.0050.00316.80
8.0.110.0030.00316.69
8.0.100.0080.00016.84
8.0.90.0040.00416.71
8.0.80.0100.01316.71
8.0.70.0030.00316.76
8.0.60.0060.00316.80
8.0.50.0080.00016.70
8.0.30.0100.01017.07
8.0.20.0120.01416.89
8.0.10.0000.00716.92
8.0.00.0080.01116.61
7.4.330.0000.00512.91
7.4.320.0000.00616.45
7.4.300.0000.00616.48
7.4.290.0060.00016.50
7.4.280.0030.00616.34
7.4.270.0070.00016.53
7.4.260.0000.00513.20
7.4.250.0000.00916.42
7.4.240.0030.00316.53
7.4.230.0030.00316.40
7.4.220.0090.00916.54
7.4.210.0040.01116.39
7.4.200.0030.00316.62
7.4.190.0050.00316.29
7.4.160.0000.01516.52
7.4.150.0120.00616.41
7.4.140.0130.01017.86
7.4.130.0070.01116.47
7.4.120.0090.00916.37
7.4.110.0060.01116.37
7.4.100.0050.01116.28
7.4.90.0150.00316.32
7.4.80.0130.00319.39
7.4.70.0050.01016.31
7.4.60.0000.01716.34
7.4.50.0030.00316.08
7.4.40.0090.00616.51
7.4.30.0150.00716.22
7.4.00.0060.00914.86
7.3.330.0000.00612.98
7.3.320.0000.00613.02
7.3.310.0070.00016.23
7.3.300.0000.00716.03
7.3.290.0060.00916.13
7.3.280.0150.00616.16
7.3.270.0130.01216.37
7.3.260.0030.01416.16
7.3.240.0030.01316.23
7.3.230.0130.00316.49
7.3.210.0110.00516.20
7.3.200.0090.00916.38
7.3.190.0060.01316.51
7.3.180.0060.01116.21
7.3.170.0060.01416.32
7.3.160.0120.00316.08
7.3.120.0060.01014.66
7.2.330.0090.00916.43
7.2.320.0030.01316.25
7.2.310.0030.01316.48
7.2.300.0090.00916.27
7.2.290.0030.01616.17
7.2.60.0040.01116.75
7.2.00.0040.01119.31
7.1.200.0030.01015.86
7.1.100.0030.01018.04
7.1.70.0000.00716.96
7.1.60.0170.00719.25
7.1.50.0150.00616.93
7.1.00.0070.07322.31
7.0.200.0040.00416.81
7.0.140.0000.07722.15
7.0.120.0070.07022.02
7.0.60.0030.08320.02
7.0.50.0070.04017.78
7.0.40.0030.04320.12
7.0.30.0270.07020.17
7.0.20.0130.04720.16
7.0.10.0330.07720.13
7.0.00.0070.08720.02
5.6.280.0030.07020.77
5.6.210.0030.04720.46
5.6.200.0170.07718.23
5.6.190.0100.04320.60
5.6.180.0230.08320.39
5.6.170.0330.07020.45
5.6.160.0130.08320.49
5.6.150.0030.06018.12
5.6.140.0070.04018.18
5.6.130.0070.04718.14
5.6.120.0070.04320.89
5.6.110.0100.08021.14
5.6.100.0170.07320.98
5.6.90.0100.08320.94
5.6.80.0170.06020.48
5.6.70.3170.03720.47
5.5.350.0200.05720.32
5.5.340.0030.06017.92
5.5.330.0070.08320.15
5.5.320.0230.08320.43
5.5.310.0370.07020.30
5.5.300.0070.07017.99
5.5.290.0170.07017.90
5.5.280.0070.06720.89
5.5.270.0130.06020.83
5.5.260.0030.04320.64
5.5.250.0000.04320.54
5.5.240.0070.08020.14
5.4.450.0430.05025.16
5.4.440.0430.04725.16
5.4.430.0500.04725.16
5.4.420.0200.04025.16
5.4.410.0830.04325.16
5.4.400.0730.04325.16
5.4.390.0800.02725.16
5.4.380.0430.03725.16
5.4.370.0330.04325.16
5.4.360.0500.04025.16
5.4.350.0400.04325.16
5.4.340.0870.04325.16
5.4.320.0630.06025.16
5.4.310.0200.05325.16
5.4.300.0330.04325.16
5.4.290.0430.04325.16
5.4.280.0630.04725.16
5.4.270.0500.04025.16
5.4.260.0800.03725.16
5.4.250.0400.03325.16
5.4.240.0330.04725.16
5.4.230.0200.05025.16
5.4.220.0330.04325.16
5.4.210.0500.03725.16
5.4.200.0570.04025.16
5.4.190.0500.04025.16
5.4.180.0770.04325.16
5.4.170.0730.03725.16
5.4.160.0600.04025.16
5.4.150.0400.04325.16
5.4.140.0530.03025.16
5.4.130.0870.04325.16
5.4.120.0270.03325.16
5.4.110.0530.04025.16
5.4.100.0400.03325.16
5.4.90.0470.04025.16
5.4.80.0670.03325.16
5.4.70.0730.03325.16
5.4.60.0670.03325.16
5.4.50.0530.03025.16
5.4.40.0630.03025.16
5.4.30.0770.03725.16
5.4.20.0870.04325.16
5.4.10.0970.03025.16
5.4.00.0300.04325.16
5.3.290.0730.04025.16
5.3.280.0630.03725.16
5.3.270.0570.03725.16
5.3.260.0430.04725.16
5.3.250.0400.04325.16
5.3.240.0700.03025.16
5.3.230.0700.04725.16
5.3.220.0370.04025.16
5.3.210.0570.04725.16
5.3.200.0700.07025.16
5.3.190.0700.03025.16
5.3.180.0600.03325.16
5.3.170.0570.04325.16
5.3.160.0700.02325.16
5.3.150.0500.04025.16
5.3.140.0670.03325.16
5.3.130.0500.03725.16
5.3.120.0830.03025.16
5.3.110.0570.03025.16
5.3.100.0600.03325.16
5.3.90.0700.03025.16
5.3.80.0570.03725.16
5.3.70.0400.04325.16
5.3.60.0500.04025.16
5.3.50.0400.04025.16
5.3.40.0500.03025.16
5.3.30.0770.03725.16
5.3.20.0730.03025.16
5.3.10.0500.03025.16
5.3.00.0330.04025.16
5.2.170.0600.03025.16
5.2.160.0800.02725.16
5.2.150.0200.03325.16
5.2.140.0330.03025.16
5.2.130.0470.03025.16
5.2.120.0230.02725.16
5.2.110.0530.03025.16
5.2.100.0130.04325.16
5.2.90.0700.02025.16
5.2.80.0600.02725.16
5.2.70.0830.02025.16
5.2.60.0470.03325.16
5.2.50.0430.02025.16
5.2.40.0370.02725.16
5.2.30.0230.03025.16
5.2.20.0300.03025.16
5.2.10.0170.04025.16
5.2.00.0300.02725.16
5.1.60.0570.02325.16
5.1.50.0370.02325.16
5.1.40.0370.03725.16
5.1.30.0530.03025.16
5.1.20.0570.02725.16
5.1.10.0030.03025.16
5.1.00.0600.02325.16
5.0.50.0130.02325.16
5.0.40.0170.02725.16
5.0.30.0100.03325.16
5.0.20.0130.02025.16
5.0.10.0370.01725.16
5.0.00.0270.02725.16
4.4.90.0170.02025.16
4.4.80.0400.02025.16
4.4.70.0070.01725.16
4.4.60.0200.02025.16
4.4.50.0170.01325.16
4.4.40.0170.02325.16
4.4.30.0200.01025.16
4.4.20.0470.02725.16
4.4.10.0200.01725.16
4.4.00.0200.02325.16
4.3.110.0270.01725.16
4.3.100.0200.02325.16
4.3.90.0200.01325.16
4.3.80.0100.02725.16
4.3.70.0030.02725.16
4.3.60.0170.01025.16
4.3.50.0170.02325.16
4.3.40.0170.02725.16
4.3.30.0130.01725.16
4.3.20.0130.01725.16
4.3.10.0070.02025.16
4.3.00.0130.01025.16

preferences:
57.27 ms | 400 KiB | 5 Q