3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(token_get_all('<?php call_protected_method($pos_sales_overview, 'output_coupons', array());'));
Output for 7.0.0 - 7.0.2
Parse error: syntax error, unexpected 'output_coupons' (T_STRING), expecting ',' or ')' in /in/v4nMh on line 3
Process exited with code 255.
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
Parse error: syntax error, unexpected 'output_coupons' (T_STRING) in /in/v4nMh on line 3
Process exited with code 255.

preferences:
167.68 ms | 1387 KiB | 26 Q