3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "Something"; $b = "Other thing"; $startDouble = microtime(); for ($i = 0; $i < 10000; $i++) $var = "I am a single quote string $a & $b"; $endDouble = microtime(); $timeDouble = $endDouble - $startDouble; echo 'No math took : ',$timeDouble,'ms';
Output for 7.2.0
Notice: A non well formed numeric value encountered in /in/Y4Ys1 on line 8 Notice: A non well formed numeric value encountered in /in/Y4Ys1 on line 8 No math took : 0.000647ms
Output for 7.1.7
Notice: A non well formed numeric value encountered in /in/Y4Ys1 on line 8 Notice: A non well formed numeric value encountered in /in/Y4Ys1 on line 8 No math took : 0.000847ms
Output for 7.1.6
Notice: A non well formed numeric value encountered in /in/Y4Ys1 on line 8 Notice: A non well formed numeric value encountered in /in/Y4Ys1 on line 8 No math took : 0.001164ms
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/Y4Ys1 on line 8 Notice: A non well formed numeric value encountered in /in/Y4Ys1 on line 8 No math took : 0.001129ms
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/Y4Ys1 on line 8 Notice: A non well formed numeric value encountered in /in/Y4Ys1 on line 8 No math took : 0.000811ms
Output for 7.0.20
No math took : 0.00056ms
Output for 7.0.14
No math took : 0.000758ms
Output for 7.0.6
No math took : 0.00065800000000005ms
Output for 7.0.5
No math took : 0.00071399999999999ms
Output for 7.0.4
No math took : 0.00047700000000006ms
Output for 7.0.3
No math took : 0.00064600000000004ms
Output for 7.0.2
No math took : 0.000475ms
Output for 7.0.1
No math took : 0.00069599999999997ms
Output for 7.0.0
No math took : 0.00054100000000001ms
Output for 5.6.28
No math took : 0.002497ms
Output for 5.6.21
No math took : 0.00095599999999996ms
Output for 5.4.31, 5.6.20
No math took : 0.001314ms
Output for 5.6.19
No math took : 0.00099500000000002ms
Output for 5.6.18
No math took : 0.000947ms
Output for 5.6.17
No math took : 0.001195ms
Output for 5.6.16
No math took : 0.00098299999999996ms
Output for 5.6.15
No math took : 0.001309ms
Output for 5.6.14
No math took : 0.001031ms
Output for 5.6.13
No math took : 0.00099000000000005ms
Output for 5.6.12
No math took : 0.00093199999999999ms
Output for 5.6.11
No math took : 0.00097800000000003ms
Output for 5.6.10
No math took : 0.001463ms
Output for 5.6.9
No math took : 0.001135ms
Output for 5.6.8
No math took : 0.001587ms
Output for 5.5.35
No math took : 0.001491ms
Output for 5.5.34
No math took : 0.00099300000000002ms
Output for 5.5.33
No math took : 0.0012719999999999ms
Output for 5.5.32
No math took : 0.001342ms
Output for 5.5.31
No math took : 0.001156ms
Output for 5.5.30
No math took : 0.0011450000000001ms
Output for 5.5.29
No math took : 0.001398ms
Output for 5.5.28
No math took : 0.001718ms
Output for 5.5.27
No math took : 0.00094900000000001ms
Output for 5.5.26
No math took : 0.001179ms
Output for 5.5.25
No math took : 0.0014820000000001ms
Output for 5.5.24
No math took : 0.001115ms
Output for 5.4.45
No math took : 0.0016029999999999ms
Output for 5.4.44
No math took : 0.001973ms
Output for 5.3.13, 5.4.43
No math took : 0.001787ms
Output for 5.4.42
No math took : 0.001927ms
Output for 5.4.41
No math took : 0.001624ms
Output for 5.4.40
No math took : 0.002042ms
Output for 5.4.39
No math took : 0.001688ms
Output for 5.4.38
No math took : 0.002055ms
Output for 5.4.37
No math took : 0.00893ms
Output for 5.4.36
No math took : 0.001652ms
Output for 5.4.35
No math took : 0.001657ms
Output for 5.4.34
No math took : 0.001907ms
Output for 5.4.32
No math took : 0.001242ms
Output for 5.4.30
No math took : 0.001258ms
Output for 5.4.29
No math took : 0.00143ms
Output for 5.4.28
No math took : 0.001322ms
Output for 5.2.5, 5.4.27
No math took : 0.002498ms
Output for 5.4.26
No math took : 0.002665ms
Output for 5.4.25
No math took : 0.002769ms
Output for 5.4.24
No math took : 0.002449ms
Output for 5.4.23
No math took : 0.001807ms
Output for 5.4.22
No math took : 0.002223ms
Output for 5.4.21
No math took : 0.002472ms
Output for 5.4.20
No math took : 0.002288ms
Output for 5.4.19
No math took : 0.002625ms
Output for 5.4.18
No math took : 0.002234ms
Output for 5.4.17
No math took : 0.006387ms
Output for 5.4.16
No math took : 0.001877ms
Output for 5.4.15
No math took : 0.002609ms
Output for 5.4.14
No math took : 0.002386ms
Output for 5.4.13
No math took : 0.001923ms
Output for 5.4.12
No math took : 0.002692ms
Output for 5.4.11
No math took : 0.002922ms
Output for 5.4.10
No math took : 0.0021ms
Output for 5.4.9
No math took : 0.001943ms
Output for 5.4.8
No math took : 0.002338ms
Output for 5.4.7
No math took : 0.001622ms
Output for 5.4.6
No math took : 0.002871ms
Output for 5.4.5
No math took : 0.002578ms
Output for 5.4.4
No math took : 0.002806ms
Output for 5.4.3
No math took : 0.002857ms
Output for 5.4.2
No math took : 0.003029ms
Output for 5.4.1
No math took : 0.003368ms
Output for 5.4.0
No math took : 0.002439ms
Output for 5.3.29
No math took : 0.00133ms
Output for 5.3.28
No math took : 0.001934ms
Output for 5.3.27
No math took : 0.001962ms
Output for 5.3.26
No math took : 0.002778ms
Output for 5.3.25
No math took : 0.006714ms
Output for 5.3.24
No math took : 0.003003ms
Output for 5.3.23
No math took : 0.002904ms
Output for 5.3.22
No math took : 0.002849ms
Output for 5.3.21
No math took : 0.001929ms
Output for 5.3.20
No math took : 0.002511ms
Output for 5.3.19
No math took : 0.001834ms
Output for 5.3.18
No math took : 0.003432ms
Output for 5.3.17
No math took : 0.003157ms
Output for 5.3.16
No math took : 0.001974ms
Output for 5.3.15
No math took : 0.002177ms
Output for 5.3.14
No math took : 0.002734ms
Output for 5.3.12
No math took : 0.002881ms
Output for 5.3.11
No math took : 0.003207ms
Output for 5.3.10
No math took : 0.002529ms
Output for 5.3.9
No math took : 0.002542ms
Output for 5.3.8
No math took : 0.00213ms
Output for 5.3.7
No math took : 0.002859ms
Output for 5.3.6
No math took : 0.00283ms
Output for 5.3.5
No math took : 0.003212ms
Output for 5.3.4
No math took : 0.003215ms
Output for 5.3.3
No math took : 0.002129ms
Output for 5.3.2
No math took : 0.009807ms
Output for 5.3.1
No math took : 0.002792ms
Output for 5.3.0
No math took : 0.030152ms
Output for 5.2.17
No math took : 0.003867ms
Output for 5.2.16
No math took : 0.004621ms
Output for 5.2.15
No math took : 0.003103ms
Output for 5.2.14
No math took : 0.003418ms
Output for 5.2.13
No math took : 0.002231ms
Output for 5.2.12
No math took : 0.003555ms
Output for 5.2.11
No math took : 0.002746ms
Output for 5.2.10
No math took : 0.002731ms
Output for 5.2.9
No math took : 0.00228ms
Output for 5.2.8
No math took : 0.00229ms
Output for 5.2.7
No math took : 0.00219ms
Output for 5.2.6
No math took : 0.005893ms
Output for 5.2.4
No math took : 0.003345ms
Output for 5.2.3
No math took : 0.002911ms
Output for 5.2.2
No math took : 0.007265ms
Output for 5.2.1
No math took : 0.00766ms
Output for 5.2.0
No math took : 0.008098ms
Output for 5.1.6
No math took : 0.008536ms
Output for 5.1.5
No math took : 0.008556ms
Output for 5.1.4
No math took : 0.017074ms
Output for 5.1.3
No math took : 0.009006ms
Output for 5.1.2
No math took : 0.010362ms
Output for 5.1.1
No math took : 0.017348ms
Output for 5.1.0
No math took : 0.015628ms
Output for 5.0.5
No math took : 0.031767ms
Output for 5.0.4
No math took : 0.021535ms
Output for 5.0.3
No math took : 0.014853ms
Output for 5.0.2
No math took : 0.019655ms
Output for 5.0.1
No math took : 0.011555ms
Output for 5.0.0
No math took : 0.015758ms
Output for 4.4.9
No math took : 0.018253ms
Output for 4.4.8
No math took : 0.010919ms
Output for 4.4.7
No math took : 0.013532ms
Output for 4.4.6
No math took : 0.017052ms
Output for 4.4.5
No math took : 0.014891ms
Output for 4.4.4
No math took : 0.016799ms
Output for 4.4.3
No math took : 0.012737ms
Output for 4.4.2
No math took : 0.045842ms
Output for 4.4.1
No math took : 0.021364ms
Output for 4.4.0
No math took : 0.015608ms
Output for 4.3.11
No math took : 0.014462ms
Output for 4.3.10
No math took : 0.019047ms
Output for 4.3.9
No math took : 0.014103ms
Output for 4.3.8
No math took : 0.02437ms
Output for 4.3.7
No math took : 0.017278ms
Output for 4.3.6
No math took : 0.013697ms
Output for 4.3.5
No math took : 0.015218ms
Output for 4.3.4
No math took : 0.011966ms
Output for 4.3.3
No math took : 0.013865ms
Output for 4.3.2
No math took : 0.020789ms
Output for 4.3.1
No math took : 0.006421ms
Output for 4.3.0
No math took : 0.006673ms

preferences:
168.08 ms | 401 KiB | 174 Q