3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(true); $null = null; foreach (range(1, 10000) as $f) { is_null(null); } var_dump(microtime(true) - start);
Output for 7.2.2, 7.2.12 - 7.2.13, 7.3.1
Warning: Use of undefined constant start - assumed 'start' (this will throw an Error in a future version of PHP) in /in/E2g6t on line 12 Warning: A non-numeric value encountered in /in/E2g6t on line 12 float(1382623113.0003)
Output for 7.2.0 - 7.2.1, 7.2.3 - 7.2.4, 7.2.6 - 7.2.8, 7.3.0
Warning: Use of undefined constant start - assumed 'start' (this will throw an Error in a future version of PHP) in /in/E2g6t on line 12 Warning: A non-numeric value encountered in /in/E2g6t on line 12 float(1382623113.0004)
Output for 7.2.10 - 7.2.11
Warning: Use of undefined constant start - assumed 'start' (this will throw an Error in a future version of PHP) in /in/E2g6t on line 12 Warning: A non-numeric value encountered in /in/E2g6t on line 12 float(1382623113.0006)
Output for 7.2.5, 7.2.9
Warning: Use of undefined constant start - assumed 'start' (this will throw an Error in a future version of PHP) in /in/E2g6t on line 12 Warning: A non-numeric value encountered in /in/E2g6t on line 12 float(1382623113.0005)
Output for 7.1.25
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 Warning: A non-numeric value encountered in /in/E2g6t on line 12 float(1382623113.0006)
Output for 7.1.7
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 Warning: A non-numeric value encountered in /in/E2g6t on line 12 float(1382623113.004)
Output for 7.1.6
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 Warning: A non-numeric value encountered in /in/E2g6t on line 12 float(1382623113.0134)
Output for 7.1.5
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 Warning: A non-numeric value encountered in /in/E2g6t on line 12 float(1382623113.0137)
Output for 7.1.0
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 Warning: A non-numeric value encountered in /in/E2g6t on line 12 float(1382623113.0039)
Output for 7.0.20
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382623113.0029)
Output for 7.0.14
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382623113.0039)
Output for 7.0.0, 7.0.7
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0035)
Output for 7.0.6
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0033)
Output for 7.0.5
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0028)
Output for 5.4.42, 7.0.4
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0043)
Output for 7.0.3
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0042)
Output for 7.0.1 - 7.0.2
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0029)
Output for 5.6.28
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382623113.0079)
Output for 5.6.0, 5.6.22
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0083)
Output for 5.4.22, 5.5.19, 5.6.14, 5.6.16 - 5.6.17, 5.6.21
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0076)
Output for 5.4.34, 5.5.2, 5.5.6, 5.6.19 - 5.6.20
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0079)
Output for 5.3.21, 5.5.28, 5.6.12, 5.6.18
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0048)
Output for 5.2.16, 5.3.4, 5.5.1, 5.5.3, 5.5.26, 5.6.15
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0047)
Output for 5.5.15, 5.5.25, 5.5.27, 5.6.2, 5.6.13
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0074)
Output for 5.2.4, 5.6.11
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.007)
Output for 5.3.5 - 5.3.6, 5.3.25, 5.4.13, 5.5.7, 5.6.10
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0051)
Output for 5.5.8, 5.6.8 - 5.6.9
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.008)
Output for 5.4.25, 5.5.36, 5.6.7
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0088)
Output for 5.1.1, 5.2.6, 5.5.12, 5.6.6
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0067)
Output for 5.3.0, 5.4.28, 5.5.18, 5.6.5
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0082)
Output for 5.4.43, 5.5.30, 5.6.4
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0071)
Output for 5.0.3, 5.6.3
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0086)
Output for 5.4.21, 5.4.38, 5.5.29, 5.6.1
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0081)
Output for 5.5.0, 5.5.14, 5.5.20, 5.5.35
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0084)
Output for 5.4.4, 5.4.20, 5.5.34
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0049)
Output for 5.2.0, 5.3.8, 5.3.10, 5.4.6, 5.4.11 - 5.4.12, 5.5.33
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0055)
Output for 5.1.4, 5.2.5, 5.3.3, 5.3.14, 5.5.21, 5.5.32
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0065)
Output for 5.2.10, 5.4.29, 5.5.31
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0068)
Output for 5.0.0, 5.1.3, 5.2.7, 5.4.8, 5.4.14, 5.5.24
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0057)
Output for 5.4.24, 5.4.26, 5.4.32, 5.5.23
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0085)
Output for 5.0.2, 5.5.10, 5.5.22
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0087)
Output for 5.4.15, 5.4.35, 5.4.39, 5.5.9, 5.5.13, 5.5.16
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0077)
Output for 5.1.5, 5.3.20, 5.5.11
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0064)
Output for 5.2.12, 5.3.19, 5.3.29, 5.5.5
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0059)
Output for 5.3.1, 5.5.4
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0052)
Output for 5.1.0, 5.2.17, 5.3.15 - 5.3.16, 5.4.45
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0063)
Output for 5.2.14, 5.4.44
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0045)
Output for 5.4.41
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0073)
Output for 5.0.1, 5.4.30 - 5.4.31, 5.4.36, 5.4.40
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0078)
Output for 5.0.4, 5.4.37
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0075)
Output for 5.4.27
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0089)
Output for 5.2.3, 5.4.18, 5.4.23
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0072)
Output for 5.3.17, 5.4.16, 5.4.19
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0066)
Output for 5.2.2, 5.2.8, 5.3.11, 5.3.23 - 5.3.24, 5.4.17
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0062)
Output for 5.3.22, 5.4.2, 5.4.10
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0056)
Output for 5.2.13, 5.3.13, 5.3.18, 5.4.5, 5.4.9
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0058)
Output for 5.4.0, 5.4.7
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0061)
Output for 5.3.7, 5.4.3
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0046)
Output for 5.4.1
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.004)
Output for 5.2.15, 5.3.28
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0036)
Output for 5.3.27
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0038)
Output for 5.1.2, 5.2.1, 5.3.26
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.005)
Output for 5.3.12
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0054)
Output for 5.3.9
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0053)
Output for 5.1.6, 5.3.2
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.006)
Output for 5.2.11
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0034)
Output for 5.2.9
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0044)
Output for 5.0.5
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(1382630303.0097)
Output for 4.4.9
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.00629)
Output for 4.4.8
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.005443)
Output for 4.4.7
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.006356)
Output for 4.4.6
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.006234)
Output for 4.4.5
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.006888)
Output for 4.4.4
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.006086)
Output for 4.4.3
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.005779)
Output for 4.4.2
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.006472)
Output for 4.4.1
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.006279)
Output for 4.4.0
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.00583)
Output for 4.3.11
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.006011)
Output for 4.3.10
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.006308)
Output for 4.3.9
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.00878)
Output for 4.3.8
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.00421)
Output for 4.3.7
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.006935)
Output for 4.3.6
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.005702)
Output for 4.3.5
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.009266)
Output for 4.3.4
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.008456)
Output for 4.3.3
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.009017)
Output for 4.3.2
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.008209)
Output for 4.3.1
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.009527)
Output for 4.3.0
Notice: Use of undefined constant start - assumed 'start' in /in/E2g6t on line 12 float(0.006209)

preferences:
182.75 ms | 401 KiB | 224 Q