Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change split with preg_split #27

Merged
merged 3 commits into from
Dec 13, 2016
Merged

Conversation

Stichoza
Copy link
Contributor

@Stichoza Stichoza commented Dec 2, 2016

split() function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0.

This causes following error: Call to undefined function RobRichards\WsePhp\split()

http://php.net/manual/en/function.split.php
http://php.net/manual/en/function.preg-split.php

@Stichoza
Copy link
Contributor Author

Stichoza commented Dec 2, 2016

Hold on, I'll fix this PR with adding some more commits

@Stichoza
Copy link
Contributor Author

Stichoza commented Dec 2, 2016

Done and fixed

@robrichards
Copy link
Owner

@Stichoza Why not just use explode as its faster?

@Stichoza
Copy link
Contributor Author

Stichoza commented Dec 5, 2016

You're right. fixed it

@robrichards robrichards merged commit d18b46a into robrichards:master Dec 13, 2016
@robrichards
Copy link
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants