MyBB Community Forums

Full Version: split used in class_parser.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
            case "dailymotion":
                list($id, ) = split("_", $path[2], 1); // http://www.dailymotion.com/video/fds123_title-goes-here
                break;

split is deprecated since php 5.3 so it should be updated to make use of explode.
Yep, had a similar issue at work when we moved to PHP 5.3 a year back. Definitely agree it needs updating to explode().
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/1836

Thanks for contributing to MyBB!

Regards,
The MyBB Group