3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "\t123456\t345\t575675\t676\t333"; for($i = 0; $i< 10; $i++){ $a .= $a; } $start = time(); $startMicro = microtime(); $result = explode("\t", $a)[0]; var_dump('Explode:' . ((time() - $start) + (microtime() - $startMicro) / 1000));
Output for 7.3.1
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:3.45E-7"
Output for 7.3.0
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:2.74E-7"
Output for 7.2.13
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:5.16E-7"
Output for 7.2.6, 7.2.12
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:2.92E-7"
Output for 7.2.11
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:3.26E-7"
Output for 7.1.11, 7.2.10
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:2.53E-7"
Output for 7.2.9
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(17) "Explode:5.3742E-5"
Output for 7.2.8
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(26) "Explode:4.0299999999999E-7"
Output for 7.1.14, 7.2.7
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(14) "Explode:4.6E-7"
Output for 7.2.5
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:4.29E-7"
Output for 7.2.4
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(16) "Explode:5.698E-5"
Output for 7.2.3
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(16) "Explode:6.546E-6"
Output for 7.2.2
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:3.17E-7"
Output for 7.1.15, 7.2.1
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:2.59E-7"
Output for 7.2.0
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:4.12E-7"
Output for 7.1.25
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:2.88E-7"
Output for 7.1.24
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:4.85E-7"
Output for 7.1.23
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(17) "Explode:3.9913E-5"
Output for 7.1.9, 7.1.22
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:4.25E-7"
Output for 7.1.21
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:6.65E-7"
Output for 7.1.20
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(16) "Explode:7.106E-6"
Output for 7.1.19
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:3.79E-7"
Output for 7.1.18
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:3.82E-7"
Output for 7.1.17
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:8.81E-6"
Output for 7.1.16
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:4.23E-7"
Output for 7.1.13
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(17) "Explode:1.2458E-5"
Output for 7.1.12
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(16) "Explode:2.154E-5"
Output for 7.1.10
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(16) "Explode:8.578E-6"
Output for 7.1.8
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(17) "Explode:1.9109E-5"
Output for 7.1.6 - 7.1.7
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:2.48E-7"
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:5.19E-7"
Output for 7.1.4
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(17) "Explode:2.7973E-5"
Output for 7.1.3
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:4.39E-7"
Output for 7.1.2
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(17) "Explode:1.5362E-5"
Output for 7.1.1
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(17) "Explode:8.2072E-5"
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/alk68 on line 14 Notice: A non well formed numeric value encountered in /in/alk68 on line 14 string(15) "Explode:2.44E-7"
Output for 7.0.33
string(15) "Explode:3.61E-7"
Output for 7.0.32
string(15) "Explode:2.91E-7"
Output for 7.0.31
string(17) "Explode:2.5878E-5"
Output for 7.0.30
string(15) "Explode:3.67E-7"
Output for 7.0.29
string(16) "Explode:4.681E-6"
Output for 7.0.28
string(15) "Explode:5.26E-7"
Output for 7.0.27
string(15) "Explode:4.03E-7"
Output for 7.0.26
string(15) "Explode:3.23E-7"
Output for 7.0.25
string(17) "Explode:1.6735E-5"
Output for 7.0.24
string(17) "Explode:1.3438E-5"
Output for 7.0.23
string(17) "Explode:1.6676E-5"
Output for 7.0.22
string(15) "Explode:2.84E-7"
Output for 7.0.21
string(15) "Explode:3.09E-7"
Output for 7.0.20
string(16) "Explode:9.513E-6"
Output for 7.0.19
string(15) "Explode:4.26E-7"
Output for 7.0.18
string(15) "Explode:2.44E-7"
Output for 7.0.17
string(17) "Explode:2.2368E-5"
Output for 7.0.16
string(15) "Explode:6.41E-7"
Output for 7.0.15
string(15) "Explode:2.32E-7"
Output for 7.0.14
string(14) "Explode:4.7E-7"
Output for 7.0.13
string(16) "Explode:4.291E-6"
Output for 7.0.12
string(17) "Explode:1.8592E-5"
Output for 7.0.11
string(17) "Explode:1.9053E-5"
Output for 7.0.10
string(15) "Explode:6.37E-7"
Output for 7.0.9
string(16) "Explode:7.835E-6"
Output for 7.0.8
string(14) "Explode:2.8E-7"
Output for 7.0.7
string(17) "Explode:2.7106E-5"
Output for 7.0.6
string(15) "Explode:4.05E-7"
Output for 7.0.5
string(15) "Explode:2.42E-7"
Output for 7.0.4
string(15) "Explode:2.33E-7"
Output for 7.0.3
string(15) "Explode:2.61E-7"
Output for 7.0.2
string(17) "Explode:2.0422E-5"
Output for 7.0.1
string(16) "Explode:9.299E-6"
Output for 7.0.0
string(15) "Explode:2.76E-7"
Output for 5.6.38
string(16) "Explode:1.555E-6"
Output for 5.6.37
string(16) "Explode:1.301E-6"
Output for 5.6.36
string(16) "Explode:1.195E-6"
Output for 5.6.35
string(16) "Explode:1.186E-6"
Output for 5.6.34
string(16) "Explode:1.951E-6"
Output for 5.5.20, 5.6.33
string(16) "Explode:1.644E-6"
Output for 5.6.32
string(16) "Explode:1.557E-6"
Output for 5.6.31
string(16) "Explode:1.268E-6"
Output for 5.6.30
string(16) "Explode:1.607E-6"
Output for 5.6.29
string(15) "Explode:2.73E-6"
Output for 5.6.28
string(16) "Explode:1.474E-6"
Output for 5.6.27
string(16) "Explode:1.964E-6"
Output for 5.6.26
string(16) "Explode:1.788E-6"
Output for 5.6.25
string(16) "Explode:1.426E-6"
Output for 5.6.24
string(16) "Explode:1.455E-6"
Output for 5.6.23
string(16) "Explode:1.738E-6"
Output for 5.6.22
string(16) "Explode:1.241E-6"
Output for 5.6.21
string(16) "Explode:1.494E-6"
Output for 5.6.17, 5.6.20
string(16) "Explode:1.414E-6"
Output for 5.6.19
string(16) "Explode:1.156E-6"
Output for 5.6.18
string(16) "Explode:2.535E-6"
Output for 5.6.16
string(16) "Explode:1.665E-6"
Output for 5.6.15
string(16) "Explode:1.336E-6"
Output for 5.6.14
string(16) "Explode:1.351E-6"
Output for 5.5.15, 5.6.13
string(16) "Explode:1.954E-6"
Output for 5.6.12
string(16) "Explode:1.531E-6"
Output for 5.6.11
string(16) "Explode:1.623E-6"
Output for 5.4.45, 5.6.10
string(16) "Explode:1.341E-6"
Output for 5.6.9
string(16) "Explode:1.153E-6"
Output for 5.6.8
string(15) "Explode:2.17E-6"
Output for 5.6.6 - 5.6.7
string(16) "Explode:1.486E-6"
Output for 5.6.5
string(16) "Explode:1.433E-6"
Output for 5.6.4
string(16) "Explode:1.689E-6"
Output for 5.6.3
string(16) "Explode:1.332E-6"
Output for 5.6.2
string(16) "Explode:2.335E-6"
Output for 5.6.1
string(16) "Explode:2.409E-6"
Output for 5.6.0
string(16) "Explode:1.899E-6"
Output for 5.5.38
string(16) "Explode:2.322E-6"
Output for 5.5.37
string(16) "Explode:1.999E-6"
Output for 5.5.36
string(16) "Explode:1.698E-6"
Output for 5.5.35
string(16) "Explode:2.958E-6"
Output for 5.5.34
string(16) "Explode:1.646E-6"
Output for 5.5.33
string(16) "Explode:1.459E-6"
Output for 5.5.32
string(16) "Explode:2.255E-6"
Output for 5.5.31
string(15) "Explode:1.23E-6"
Output for 5.5.30
string(16) "Explode:1.559E-6"
Output for 5.5.29
string(16) "Explode:1.729E-6"
Output for 5.5.28
string(16) "Explode:1.853E-6"
Output for 5.5.27
string(16) "Explode:2.128E-6"
Output for 5.5.26
string(16) "Explode:1.674E-6"
Output for 5.5.25
string(16) "Explode:1.609E-6"
Output for 5.5.24
string(16) "Explode:1.726E-6"
Output for 5.5.23
string(16) "Explode:1.548E-6"
Output for 5.5.22
string(16) "Explode:1.359E-6"
Output for 5.5.21
string(16) "Explode:2.208E-6"
Output for 5.5.19
string(16) "Explode:1.254E-6"
Output for 5.5.18
string(15) "Explode:8.54E-5"
Output for 5.5.17
string(16) "Explode:2.722E-6"
Output for 5.5.16
string(16) "Explode:2.251E-6"
Output for 5.5.14
string(16) "Explode:1.601E-6"
Output for 5.5.13
string(16) "Explode:1.997E-6"
Output for 5.5.12
string(16) "Explode:2.202E-6"
Output for 5.5.11
string(16) "Explode:2.125E-6"
Output for 5.5.10
string(16) "Explode:2.471E-6"
Output for 5.5.9
string(15) "Explode:1.41E-6"
Output for 5.5.8
string(16) "Explode:1.676E-6"
Output for 5.5.7
string(16) "Explode:2.254E-6"
Output for 5.5.6
string(16) "Explode:1.131E-6"
Output for 5.5.5
string(16) "Explode:1.464E-6"
Output for 5.5.4
string(16) "Explode:1.923E-6"
Output for 5.5.3
string(16) "Explode:1.406E-6"
Output for 5.5.2
string(16) "Explode:1.745E-6"
Output for 5.5.1
string(16) "Explode:1.507E-6"
Output for 5.5.0
string(16) "Explode:1.295E-6"
Output for 5.4.44
string(17) "Explode:1.9375E-5"
Output for 5.4.43
string(16) "Explode:1.287E-6"
Output for 5.4.42
string(16) "Explode:1.651E-6"
Output for 5.4.41
string(14) "Explode:1.7E-6"
Output for 5.4.40
string(16) "Explode:1.783E-6"
Output for 5.4.39
string(16) "Explode:1.924E-6"
Output for 5.4.38
string(15) "Explode:2.54E-6"
Output for 5.4.37
string(16) "Explode:1.947E-6"
Output for 5.4.36
string(16) "Explode:1.971E-6"
Output for 5.4.35
string(16) "Explode:2.765E-6"
Output for 5.4.34
string(15) "Explode:1.14E-6"
Output for 5.4.33
string(16) "Explode:1.989E-6"
Output for 5.4.32
string(16) "Explode:2.276E-6"
Output for 5.4.31
string(17) "Explode:1.2082E-5"
Output for 5.4.30
string(16) "Explode:1.952E-6"
Output for 5.4.29
string(16) "Explode:1.967E-6"
Output for 5.4.28
string(16) "Explode:2.127E-6"
Output for 5.4.27
string(16) "Explode:2.258E-6"
Output for 5.4.26
string(16) "Explode:2.804E-6"
Output for 5.4.25
string(16) "Explode:2.281E-6"
Output for 5.4.24
string(16) "Explode:2.243E-6"
Output for 5.4.23
string(17) "Explode:1.9585E-5"
Output for 5.4.22
string(16) "Explode:1.372E-6"
Output for 5.4.21
string(17) "Explode:3.3743E-5"
Output for 5.4.20
string(17) "Explode:3.1576E-5"
Output for 5.4.19
string(16) "Explode:2.881E-6"
Output for 5.4.18
string(16) "Explode:1.374E-6"
Output for 5.4.17
string(16) "Explode:1.526E-6"
Output for 5.4.16
string(16) "Explode:2.373E-6"
Output for 5.4.15
string(16) "Explode:2.682E-6"
Output for 5.4.14
string(16) "Explode:1.136E-6"
Output for 5.4.13
string(16) "Explode:2.979E-6"
Output for 5.4.12
string(16) "Explode:2.187E-6"
Output for 5.4.11
string(16) "Explode:1.939E-6"
Output for 5.4.10
string(16) "Explode:1.204E-6"
Output for 5.4.9
string(16) "Explode:2.544E-6"
Output for 5.4.8
string(16) "Explode:2.773E-6"
Output for 5.4.7
string(16) "Explode:1.256E-6"
Output for 5.4.6
string(16) "Explode:1.805E-6"
Output for 5.4.5
string(16) "Explode:2.459E-6"
Output for 5.4.4
string(16) "Explode:1.263E-6"
Output for 5.4.3
string(15) "Explode:1.65E-6"
Output for 5.4.2
string(16) "Explode:1.587E-6"
Output for 5.4.1
string(17) "Explode:3.1835E-5"
Output for 5.4.0
string(17) "Explode:1.1329E-5"
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/alk68 on line 11
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/alk68 on line 11
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/alk68 on line 11
Process exited with code 255.

preferences:
217.15 ms | 401 KiB | 288 Q