Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
ereg_* functions give deprecation warnings under PHP 5.3. This patch replaces them with the equivalent preg_* function. I hope this is as straightforward as it looked.
Comment | File | Size | Author |
---|---|---|---|
#7 | ereg-2.patch | 2.33 KB | thisgeek |
ereg.patch | 2.23 KB | ludovicofischer |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedAnyone available to review this. Especially check that the log_messages changes work properly.
Comment #2
designerbrent CreditAttribution: designerbrent commentedThis patch seems to work for me
Comment #3
thisgeek CreditAttribution: thisgeek commentedDefinitely an improvement, but now I get a warning in place of the error:
It seems to be unhappy with line 423 of the same file:
$files = drush_scan_directory($path, '\.drush\.inc$');
Comment #4
moshe weitzman CreditAttribution: moshe weitzman commentedcan someone comment on this error report?
Comment #5
droplet CreditAttribution: droplet commentedconvert that to
Comment #6
moshe weitzman CreditAttribution: moshe weitzman commentedcan anyone confirm?
Comment #7
thisgeek CreditAttribution: thisgeek commenteddroplet seems to have fixed the problem I was having. I didn't run a full test, but all of the tasks I usually run work as I expect them to.
Comment #8
thisgeek CreditAttribution: thisgeek commentedComment #9
moshe weitzman CreditAttribution: moshe weitzman commentedcommitted. thanks.
Comment #10
moshe weitzman CreditAttribution: moshe weitzman commented