3v4l.org

run code in 200+ PHP versions simultaneously
<?php $modelPathDirectories [ JPATH_ADMINISTRATOR, 'components', 'com_' . $feature, 'models', ]; JModelLegacy::addIncludePath(implode(DIRECTORY_SEPARATOR, $modelPathDirectories);
based on oAr8n
Output for 7.1.25 - 7.4.0beta4
Parse error: syntax error, unexpected ',', expecting ']' in /in/cIrLP on line 3
Process exited with code 255.