3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str ='"text text text "text" text"'; Var_dump(explode('"', " " .$str. " ")); $str ='text "text" text'; Var_dump(explode('"', " " .$str. " ")); $str ='"text" text text text "text"'; Var_dump(explode('"', " " .$str. " "));

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.4.120.0080.00420.50
8.4.110.0110.00818.61
8.4.100.0120.00917.63
8.4.90.0170.00417.49
8.4.80.0150.00517.84
8.4.70.0140.00617.61
8.4.60.0110.00818.88
8.4.50.0110.00918.98
8.4.40.0060.00319.38
8.4.30.0100.00717.54
8.4.20.0130.00717.50
8.4.10.0000.00919.50
8.3.250.0110.00718.81
8.3.240.0120.00716.61
8.3.230.0110.00716.71
8.3.220.0100.01016.71
8.3.210.0090.00416.66
8.3.200.0050.00416.77
8.3.190.0140.00518.73
8.3.180.0090.00916.41
8.3.170.0080.00018.87
8.3.160.0090.00916.68
8.3.150.0150.00318.78
8.3.140.0060.01018.21
8.3.130.0060.00316.74
8.3.120.0080.00020.70
8.3.110.0000.01116.78
8.3.100.0070.00318.46
8.3.90.0110.00716.48
8.3.80.0060.00318.30
8.3.70.0150.00318.22
8.3.60.0040.01116.50
8.3.50.0140.00317.12
8.3.40.0110.00418.89
8.3.30.0080.00818.59
8.3.20.0000.00721.86
8.3.10.0080.00023.64
8.3.00.0000.00819.91
8.2.290.0130.00420.44
8.2.280.0110.00818.38
8.2.270.0110.00718.75
8.2.260.0070.01118.38
8.2.250.0050.00316.59
8.2.240.0090.00016.40
8.2.230.0160.00020.94
8.2.220.0030.00624.06
8.2.210.0080.01126.77
8.2.200.0040.00416.75
8.2.190.0140.00716.63
8.2.180.0070.00718.43
8.2.170.0140.00422.96
8.2.160.0040.01119.47
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00020.35
8.2.120.0050.00326.35
8.2.110.0110.00020.46
8.2.100.0090.00317.67
8.2.90.0000.00819.17
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0060.00318.05
8.2.50.0030.00618.10
8.2.40.0040.00422.36
8.2.30.0070.00019.27
8.2.20.0040.00417.93
8.2.10.0070.00018.00
8.2.00.0070.00018.11
8.1.330.0090.00916.63
8.1.320.0100.00818.45
8.1.310.0090.00918.10
8.1.300.0100.00018.44
8.1.290.0040.00818.88
8.1.280.0140.00725.92
8.1.270.0040.00420.50
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0070.00322.00
8.1.230.0070.00622.63
8.1.220.0080.00017.76
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0030.00517.23
8.1.180.0050.00218.10
8.1.170.0050.00318.37
8.1.160.0000.00718.80
8.1.150.0040.00422.05
8.1.140.0000.00819.48
8.1.130.0030.00320.67
8.1.120.0030.00517.50
8.1.110.0080.00017.38
8.1.100.0000.00817.38
8.1.90.0040.00417.35
8.1.80.0000.00717.45
8.1.70.0030.00317.38
8.1.60.0040.00417.46
8.1.50.0030.00517.39
8.1.40.0050.00517.07
8.1.30.0060.00317.50
8.1.20.0050.00217.56
8.1.10.0040.00417.39
8.1.00.0000.00817.44
8.0.300.0070.00018.77
8.0.290.0040.00416.72
8.0.280.0070.00018.35
8.0.270.0000.00717.22
8.0.260.0040.00416.69
8.0.250.0000.00716.93
8.0.240.0030.00316.86
8.0.230.0070.00016.82
8.0.220.0050.00316.89
8.0.210.0000.00616.82
8.0.200.0030.00316.94
8.0.190.0100.00016.93
8.0.180.0040.00416.82
8.0.170.0030.00416.76
8.0.160.0030.00616.85
8.0.150.0070.00016.72
8.0.140.0000.00816.84
8.0.130.0000.00613.40
8.0.120.0040.00416.85
8.0.110.0050.00216.90
8.0.100.0030.00316.88
8.0.90.0000.00716.78
8.0.80.0110.00316.92
8.0.70.0000.00717.00
8.0.60.0050.00316.85
8.0.50.0070.00016.89
8.0.30.0080.01117.01
8.0.20.0130.00617.40
8.0.10.0040.00416.93
8.0.00.0110.00616.75
7.4.330.0030.00315.55
7.4.320.0000.00616.51
7.4.300.0030.00316.54
7.4.290.0030.00316.50
7.4.280.0040.00416.52
7.4.270.0030.00316.50
7.4.260.0050.00216.45
7.4.250.0020.00516.51
7.4.240.0030.00316.45
7.4.230.0050.00216.62
7.4.220.0100.01616.40
7.4.210.0060.00916.48
7.4.200.0070.00016.56
7.4.160.0100.00916.46
7.4.150.0090.00917.40
7.4.140.0070.01117.86
7.4.130.0100.01216.63
7.4.120.0090.01116.47
7.4.110.0130.00316.60
7.4.100.0100.00716.57
7.4.90.0060.01216.51
7.4.80.0150.00319.39
7.4.70.0000.01716.48
7.4.60.0150.00316.20
7.4.50.0040.01116.54
7.4.40.0080.00816.19
7.4.30.0090.00916.57
7.4.00.0030.00915.06
7.3.330.0050.00313.16
7.3.320.0030.00313.11
7.3.310.0000.00816.30
7.3.300.0030.00316.37
7.3.290.0050.01116.27
7.3.280.0090.00916.25
7.3.270.0100.01417.40
7.3.260.0110.00816.42
7.3.250.0130.00816.40
7.3.240.0140.00416.23
7.3.230.0070.01116.43
7.3.210.0110.00516.31
7.3.200.0130.00316.58
7.3.190.0030.01516.32
7.3.180.0060.00916.23
7.3.170.0120.00916.30
7.3.160.0130.01016.59
7.3.10.0040.00916.49
7.3.00.0140.00716.44
7.2.330.0110.00616.61
7.2.320.0120.00616.44
7.2.310.0040.01316.54
7.2.300.0040.01216.24
7.2.290.0170.00016.60
7.2.130.0090.00716.59
7.2.120.0010.01216.51
7.2.110.0040.00916.45
7.2.100.0070.00816.39
7.2.90.0110.00416.66
7.2.80.0070.00816.55
7.2.70.0060.01016.65
7.2.60.0070.00916.78
7.2.50.0090.00516.56
7.2.40.0070.01016.50
7.2.30.0070.01016.72
7.2.20.0050.01316.40
7.2.10.0070.00916.58
7.2.00.0100.00516.54
7.1.250.0100.00715.36
7.1.200.0060.00915.74
7.1.70.0030.00617.03
7.1.60.0130.01735.04
7.1.50.0200.01334.57
7.1.40.0100.02034.08
7.1.30.0170.01034.39
7.1.20.0230.00334.59
7.1.10.0070.00716.37
7.1.00.0070.00716.44
7.0.200.0100.01016.80
7.0.190.0030.01316.75
7.0.180.0000.01716.34
7.0.170.0130.00015.99
7.0.160.0070.00716.28
7.0.150.0130.00316.14
7.0.140.0030.01016.05
7.0.130.0100.00716.46
7.0.120.0030.01316.50
7.0.110.0070.01016.40
7.0.100.0000.01716.27
7.0.90.0030.01016.30
7.0.80.0030.01016.54
7.0.70.0030.01016.14
7.0.60.0070.00716.14
7.0.50.0030.01316.34
7.0.40.0070.01016.60
7.0.30.0100.01016.40
7.0.20.0030.01016.60
7.0.10.0070.01016.43
7.0.00.0030.01016.32

preferences:
27.08 ms | 403 KiB | 5 Q