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.
PHP 7 throws a notice per title of this issue due to the result of microtime() calls at cdn.module:78 and cdn.module:155 being a string.
Comment | File | Size | Author |
---|---|---|---|
#2 | non-well-formed-numeric-value-2846337-1.patch | 794 bytes | evgeny.chernyavskiy |
Comments
Comment #2
evgeny.chernyavskiy CreditAttribution: evgeny.chernyavskiy as a volunteer commentedComment #3
evgeny.chernyavskiy CreditAttribution: evgeny.chernyavskiy as a volunteer commentedComment #4
Wim LeersI strongly doubt this is correct, since the return value is completely different now.
Comment #5
evgeny.chernyavskiy CreditAttribution: evgeny.chernyavskiy as a volunteer commentedI don't think the initial implementation was ever correct:
Comment #6
Wim LeersHah! WTF. I know for a fact that it worked, but it may have well just have worked due to PHP strangeness.
(This is also pretty useless functionality, which I wrote in a time where I was fairly naïve, which is why it's gone in the Drupal 8 port :))
So, let's get this done. Thanks, and sorry for that awful code!
Comment #7
Wim LeersComment #9
Wim LeersComment #10
Wim Leers