3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if($productPrice == '9999' || $productPrice == ''){ $message_err = $this->__('The price will be 9999 in the shopping cart but will be fixed later in the DMS order. Please contact sales for accurate price.'); $this->_goBack($message_err); return; }
based on kuLmD
Output for 7.0.0 - 7.1.0
Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Fatal error: Uncaught Error: Using $this when not in object context in /in/iWvSg:3 Stack trace: #0 {main} thrown in /in/iWvSg on line 3
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Fatal error: $this is null in /in/iWvSg on line 3
Process exited with code 255.
Output for 5.0.4 - 5.6.28
Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Fatal error: Using $this when not in object context in /in/iWvSg on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Fatal error: Using $this when not in object context in /in/iWvSg on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Fatal error: Call to a member function on a non-object in /in/iWvSg on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Notice: Undefined variable: productPrice in /in/iWvSg on line 2 Fatal error: Call to a member function on a non-object in /in/iWvSg on line 3