3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $addOnArray = array( $addOnRedirect = array( Tools::getFieldByName($podId, 'AddonREDIRECT'), 'Redirect' ), $addOnReturn = array( Tools::getFieldByName($podId, 'AddonRETURN'), 'Return' ), $addOnHandlay = array( Tools::getFieldByName($podId, 'AddonHANDLAY'), 'Handlay' ) ); var_dump($addOnArray);
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'Tools' not found in /in/fR0qr:5 Stack trace: #0 {main} thrown in /in/fR0qr on line 5
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Class 'Tools' not found in /in/fR0qr on line 5
Process exited with code 255.