3v4l.org

run code in 300+ PHP versions simultaneously
<?php print('Unused expressions include: variables, classes/functions, '. 'private class members, arrays, invocation arguments, '. 'object declarations and object spreads'. "\n\nYou should carefully review diffs from this codemod as ". 'side effects may occur from unused variable initialization.'. "\n\n[Read more about side effects here](https://fb.quip.com/7pdSA9i4tBEo)". "\n\n**Read this before requesting changes**: ". "If this diff removes necessary side effects, you should commandeer ". "this diff and remove any unused expressions so the codemod no longer ". "considers the code dead. For example:\n". "```". " const deadVar = sideEffect(); // should be changed to sideEffect(); // you could also add _ prefix to the variable const _deadVar = sideEffect(); ". "```\n", );
Output for 7.1.25 - 7.1.30, 7.2.0 - 7.2.20, 7.3.0 - 7.3.7
Parse error: syntax error, unexpected ',' in /in/hRVdU on line 20
Process exited with code 255.

preferences:
175.34 ms | 1395 KiB | 42 Q