0<br />
Fatal error: Uncaught Error: Undefined constant "i" in /in/Z477X:7
Stack trace:
#0 /in/Z477X(11): my_sum(Array)
#1 {main}
thrown in /in/Z477X on line 7
Process exited with code 255.
0<br />
Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /in/Z477X on line 7
Notice: Undefined index: i in /in/Z477X on line 7
The sum of all array elements is 0 <br />
Output for 7.3.32 - 7.3.33
0<br />
Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /in/Z477X on line 7
The sum of all array elements is 0 <br />
0<br />
Notice: Use of undefined constant i - assumed 'i' in /in/Z477X on line 7
Notice: Undefined index: i in /in/Z477X on line 7
The sum of all array elements is 0 <br />
0<br />
Notice: Use of undefined constant i - assumed 'i' in /in/Z477X on line 7
Notice: Undefined index: i in /in/Z477X on line 7
The sum of all array elements is 0 <br />