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 & $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/unRWi on line 8 Notice: A non well formed numeric value encountered in /in/unRWi on line 8 No math took : 0.001126ms
Output for 7.1.7
Notice: A non well formed numeric value encountered in /in/unRWi on line 8 Notice: A non well formed numeric value encountered in /in/unRWi on line 8 No math took : 0.000692ms
Output for 7.1.6
Notice: A non well formed numeric value encountered in /in/unRWi on line 8 Notice: A non well formed numeric value encountered in /in/unRWi on line 8 No math took : 0.002036ms
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/unRWi on line 8 Notice: A non well formed numeric value encountered in /in/unRWi on line 8 No math took : 0.001633ms
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/unRWi on line 8 Notice: A non well formed numeric value encountered in /in/unRWi on line 8 No math took : 0.001397ms
Output for 7.0.20
No math took : 0.001105ms
Output for 7.0.14
No math took : 0.001401ms
Output for 7.0.10
No math took : 0.000801ms
Output for 7.0.9
No math took : 0.000703ms
Output for 7.0.8
No math took : 0.000843ms
Output for 7.0.7
No math took : 0.000692ms
Output for 7.0.6
No math took : 0.000717ms
Output for 7.0.5
No math took : 0.000621ms
Output for 7.0.4
No math took : 0.000797ms
Output for 7.0.3
No math took : 0.000699ms
Output for 7.0.2
No math took : 0.001332ms
Output for 7.0.1
No math took : 0.000706ms
Output for 7.0.0
No math took : 0.000726ms
Output for 5.6.28
No math took : 0.003594ms
Output for 5.6.25
No math took : 0.002303ms
Output for 5.6.24
No math took : 0.002552ms
Output for 5.6.23
No math took : 0.00152ms
Output for 5.6.5, 5.6.22
No math took : 0.00166ms
Output for 5.6.21
No math took : 0.001716ms
Output for 5.6.20
No math took : 0.00165ms
Output for 5.6.19
No math took : 0.00172ms
Output for 5.6.18
No math took : 0.00185ms
Output for 5.6.17
No math took : 0.001639ms
Output for 5.6.16
No math took : 0.001709ms
Output for 5.6.15
No math took : 0.001732ms
Output for 5.6.14
No math took : 0.002056ms
Output for 5.6.13
No math took : 0.001627ms
Output for 5.6.9, 5.6.12
No math took : 0.001366ms
Output for 5.6.11
No math took : 0.001682ms
Output for 5.6.10
No math took : 0.001376ms
Output for 5.6.8
No math took : 0.001731ms
Output for 5.6.7
No math took : 0.004191ms
Output for 5.6.6
No math took : 0.002557ms
Output for 5.6.4
No math took : 0.002457ms
Output for 5.6.3
No math took : 0.004094ms
Output for 5.6.2
No math took : 0.002835ms
Output for 5.6.1
No math took : 0.002525ms
Output for 5.6.0
No math took : 0.002631ms
Output for 5.5.38
No math took : 0.001633ms
Output for 5.5.37
No math took : 0.001737ms
Output for 5.5.36
No math took : 0.001602ms
Output for 5.5.35
No math took : 0.001596ms
Output for 5.5.34
No math took : 0.001646ms
Output for 5.5.33
No math took : 0.0018ms
Output for 5.5.32
No math took : 0.001689ms
Output for 5.5.31
No math took : 0.001767ms
Output for 5.5.30
No math took : 0.001623ms
Output for 5.5.29
No math took : 0.001658ms
Output for 5.5.28
No math took : 0.001407ms
Output for 5.5.27
No math took : 0.002496ms
Output for 5.5.26
No math took : 0.003441ms
Output for 5.5.25
No math took : 0.001433ms
Output for 5.5.24
No math took : 0.001307ms
Output for 5.5.23
No math took : 0.002428ms
Output for 5.5.22
No math took : 0.002699ms
Output for 5.5.21
No math took : 0.002974ms
Output for 5.5.20
No math took : 0.001814ms
Output for 5.5.19
No math took : 0.002087ms
Output for 5.5.18
No math took : 0.002508ms
Output for 5.5.16
No math took : 0.002244ms
Output for 5.5.15
No math took : 0.001941ms
Output for 5.5.8, 5.5.14
No math took : 0.002309ms
Output for 5.5.13
No math took : 0.002021ms
Output for 5.5.12
No math took : 0.002158ms
Output for 5.5.11
No math took : 0.004345ms
Output for 5.4.28, 5.5.10
No math took : 0.00189ms
Output for 5.5.9
No math took : 0.002111ms
Output for 5.5.7
No math took : 0.001964ms
Output for 5.3.21, 5.5.6
No math took : 0.001843ms
Output for 5.5.5
No math took : 0.002661ms
Output for 5.5.4
No math took : 0.002571ms
Output for 5.5.3
No math took : 0.00167ms
Output for 5.5.2
No math took : 0.002311ms
Output for 5.5.1
No math took : 0.002211ms
Output for 5.5.0
No math took : 0.002196ms
Output for 5.4.45
No math took : 0.001778ms
Output for 5.4.44
No math took : 0.001521ms
Output for 5.4.43
No math took : 0.001681ms
Output for 5.4.42
No math took : 0.001787ms
Output for 5.4.41
No math took : 0.001795ms
Output for 5.4.40
No math took : 0.002862ms
Output for 5.4.39
No math took : 0.001651ms
Output for 5.4.38
No math took : 0.002632ms
Output for 5.4.37
No math took : 0.002742ms
Output for 5.4.36
No math took : 0.001816ms
Output for 5.4.35
No math took : 0.002907ms
Output for 5.4.34
No math took : 0.002756ms
Output for 5.4.32
No math took : 0.002323ms
Output for 5.4.31
No math took : 0.002961ms
Output for 5.4.30
No math took : 0.002933ms
Output for 5.4.29
No math took : 0.002553ms
Output for 5.4.27
No math took : 0.003005ms
Output for 5.4.26
No math took : 0.002955ms
Output for 5.4.25
No math took : 0.003102ms
Output for 5.4.24
No math took : 0.002521ms
Output for 5.4.23
No math took : 0.002762ms
Output for 5.4.22
No math took : 0.002614ms
Output for 5.4.21
No math took : 0.002445ms
Output for 5.4.20
No math took : 0.001959ms
Output for 5.4.19
No math took : 0.002906ms
Output for 5.4.18
No math took : 0.002452ms
Output for 5.4.17
No math took : 0.002493ms
Output for 5.4.16
No math took : 0.002426ms
Output for 5.4.15
No math took : 0.001919ms
Output for 5.4.14
No math took : 0.001826ms
Output for 5.4.13
No math took : 0.00255ms
Output for 5.4.12
No math took : 0.002717ms
Output for 5.4.11
No math took : 0.002358ms
Output for 5.4.10
No math took : 0.002123ms
Output for 5.4.9
No math took : 0.003099ms
Output for 5.4.8
No math took : 0.002265ms
Output for 5.4.7
No math took : 0.002162ms
Output for 5.4.6
No math took : 0.001663ms
Output for 5.4.5
No math took : 0.002355ms
Output for 5.4.4
No math took : 0.00238ms
Output for 5.4.3
No math took : 0.001774ms
Output for 5.4.2
No math took : 0.003323ms
Output for 5.4.1
No math took : 0.002555ms
Output for 5.4.0
No math took : 0.002102ms
Output for 5.3.29
No math took : 0.001897ms
Output for 5.3.28
No math took : 0.002893ms
Output for 5.3.27
No math took : 0.001677ms
Output for 5.3.26
No math took : 0.002935ms
Output for 5.3.25
No math took : 0.002967ms
Output for 5.3.24
No math took : 0.002318ms
Output for 5.3.23
No math took : 0.001855ms
Output for 5.3.22
No math took : 0.00231ms
Output for 5.3.20
No math took : 0.002028ms
Output for 5.3.19
No math took : 0.002272ms
Output for 5.3.18
No math took : 0.002919ms
Output for 5.3.17
No math took : 0.002431ms
Output for 5.3.16
No math took : 0.002335ms
Output for 5.3.15
No math took : 0.001951ms
Output for 5.3.14
No math took : 0.002559ms
Output for 5.3.13
No math took : 0.00267ms
Output for 5.3.12
No math took : 0.001852ms
Output for 5.3.11
No math took : 0.002757ms
Output for 5.3.10
No math took : 0.002568ms
Output for 5.3.9
No math took : 0.002093ms
Output for 5.3.8
No math took : 0.002711ms
Output for 5.3.7
No math took : 0.002206ms
Output for 5.3.6
No math took : 0.002546ms
Output for 5.3.5
No math took : 0.002565ms
Output for 5.3.4
No math took : 0.004357ms
Output for 5.3.3
No math took : 0.002137ms
Output for 5.3.2
No math took : 0.002289ms
Output for 5.3.1
No math took : 0.002771ms
Output for 5.3.0
No math took : 0.002033ms
Output for 5.2.17
No math took : 0.003285ms
Output for 5.2.16
No math took : 0.003353ms
Output for 5.2.15
No math took : 0.003356ms
Output for 5.2.14
No math took : 0.002713ms
Output for 5.2.13
No math took : 0.003396ms
Output for 5.2.12
No math took : 0.00331ms
Output for 5.2.11
No math took : 0.005943ms
Output for 5.2.10
No math took : 0.003612ms
Output for 5.2.9
No math took : 0.002199ms
Output for 5.2.8
No math took : 0.00345ms
Output for 5.2.7
No math took : 0.002112ms
Output for 5.2.6
No math took : 0.002175ms
Output for 5.2.5
No math took : 0.003298ms
Output for 5.2.4
No math took : 0.002764ms
Output for 5.2.3
No math took : 0.003798ms
Output for 5.2.2
No math took : 0.005734ms
Output for 5.2.1
No math took : 0.005992ms
Output for 5.2.0
No math took : 0.003743ms
Output for 5.1.6
No math took : 0.01273ms
Output for 5.1.5
No math took : 0.012731ms
Output for 5.1.4
No math took : 0.010665ms
Output for 5.1.3
No math took : 0.007512ms
Output for 5.1.2
No math took : 0.010597ms
Output for 5.1.1
No math took : 0.011514ms
Output for 5.1.0
No math took : 0.011771ms
Output for 5.0.0, 5.0.5
No math took : 0.009757ms
Output for 5.0.4
No math took : 0.011252ms
Output for 5.0.3
No math took : 0.009243ms
Output for 5.0.2
No math took : 0.013562ms
Output for 5.0.1
No math took : 0.008901ms
Output for 4.4.9
No math took : 0.017674ms
Output for 4.4.8
No math took : 0.016194ms
Output for 4.4.7
No math took : 0.018492ms
Output for 4.4.6
No math took : 0.025649ms
Output for 4.4.5
No math took : 0.011036ms
Output for 4.4.4
No math took : 0.009504ms
Output for 4.4.3
No math took : 0.019046ms
Output for 4.4.2
No math took : 0.016176ms
Output for 4.4.1
No math took : 0.020525ms
Output for 4.4.0
No math took : 0.015477ms
Output for 4.3.11
No math took : 0.016401ms
Output for 4.3.10
No math took : 0.018078ms
Output for 4.3.9
No math took : 0.009843ms
Output for 4.3.8
No math took : 0.015158ms
Output for 4.3.7
No math took : 0.010511ms
Output for 4.3.6
No math took : 0.018684ms
Output for 4.3.5
No math took : 0.013621ms
Output for 4.3.4
No math took : 0.016396ms
Output for 4.3.3
No math took : 0.017236ms
Output for 4.3.2
No math took : 0.017874ms
Output for 4.3.1
No math took : 0.012801ms
Output for 4.3.0
No math took : 0.010451ms

preferences:
185.91 ms | 401 KiB | 216 Q