3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( $spotCounts[$hctp]++);
Output for 7.1.0
Notice: Undefined variable: spotCounts in /in/g24nR on line 3 Notice: Undefined variable: hctp in /in/g24nR on line 3 Notice: Undefined variable: hctp in /in/g24nR on line 3 Notice: Undefined index: in /in/g24nR on line 3 NULL
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.0.14
Notice: Undefined variable: spotCounts in /in/g24nR on line 3 Notice: Undefined variable: hctp in /in/g24nR on line 3 Notice: Undefined index: in /in/g24nR on line 3 NULL
Output for hhvm-3.10.0 - 3.12.0
NULL
Output for 5.3.0 - 5.3.29
Notice: Undefined variable: hctp in /in/g24nR on line 3 Notice: Undefined variable: spotCounts in /in/g24nR on line 3 Notice: Undefined index: in /in/g24nR on line 3 NULL
Output for 5.0.4 - 5.2.17
Notice: Undefined variable: hctp in /in/g24nR on line 3 Notice: Undefined variable: spotCounts in /in/g24nR on line 3 Notice: Undefined index: in /in/g24nR on line 3 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: hctp in /in/g24nR on line 3 Notice: Undefined variable: spotCounts in /in/g24nR on line 3 Notice: Undefined index: in /in/g24nR on line 3 NULL