Testing with null (with casting) ================================================>>
------------------------>> (without casting)
Warning: foreach() argument must be of type array|object, null given in /in/aO76k on line 42
Testing with false (with casting) ================================================>>
0 =>
------------------------>> (without casting)
Warning: foreach() argument must be of type array|object, false given in /in/aO76k on line 42
Testing with true (with casting) ================================================>>
0 => 1
------------------------>> (without casting)
Warning: foreach() argument must be of type array|object, true given in /in/aO76k on line 42
Testing with class (with casting) ================================================>>
propertyOne => propertyOneValue
propertyThree => propertyThreeValue
foreachTest privateProperty => privateProperty
------------------------>> (without casting)
propertyOne => propertyOneValue
propertyThree => propertyThreeValue
Testing with array (with casting) ================================================>>
key_1 => val_1
key_2 => val_2
------------------------>> (without casting)
key_1 => val_1
key_2 => val_2
Testing with undefined (with casting) ================================================>>
Warning: Undefined variable $undefined in /in/aO76k on line 34
------------------------>> (without casting)
Warning: Undefined variable $undefined in /in/aO76k on line 42
Warning: foreach() argument must be of type array|object, null given in /in/aO76k on line 42
Testing with null (with casting) ================================================>>
------------------------>> (without casting)
Warning: foreach() argument must be of type array|object, null given in /in/aO76k on line 42
Testing with false (with casting) ================================================>>
0 =>
------------------------>> (without casting)
Warning: foreach() argument must be of type array|object, bool given in /in/aO76k on line 42
Testing with true (with casting) ================================================>>
0 => 1
------------------------>> (without casting)
Warning: foreach() argument must be of type array|object, bool given in /in/aO76k on line 42
Testing with class (with casting) ================================================>>
propertyOne => propertyOneValue
propertyThree => propertyThreeValue
foreachTest privateProperty => privateProperty
------------------------>> (without casting)
propertyOne => propertyOneValue
propertyThree => propertyThreeValue
Testing with array (with casting) ================================================>>
key_1 => val_1
key_2 => val_2
------------------------>> (without casting)
key_1 => val_1
key_2 => val_2
Testing with undefined (with casting) ================================================>>
Warning: Undefined variable $undefined in /in/aO76k on line 34
------------------------>> (without casting)
Warning: Undefined variable $undefined in /in/aO76k on line 42
Warning: foreach() argument must be of type array|object, null given in /in/aO76k on line 42