split() will be deprecated in PHP 5.3 and all posix
Ze - June 4, 2009 - 09:14
| Project: | CAS |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | task |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | patch (to be ported) |
| Issue tags: | php5.3 deprecated |
Description
All POSIX Regex function will be deprecated in PHP 5.3. This will cause notice when E_STRICT is on :
Function split() is deprecated in */drupal/sites/all/modules/cas/cas.module on line xxx
To resolve this you can replace split by explode().
I join a patch.
| Attachment | Size |
|---|---|
| drupal-cas-split.diff | 437 bytes |
