sizeof() is an alias for count() which now emits a warning when the argument is a string.

CommentFileSizeAuthor
hosting_https-php7.2.patch704 bytesjacob.embree

Comments

jacob.embree created an issue. See original summary.

colan’s picture

Status: Needs review » Reviewed & tested by the community

  • colan committed aac0f80 on 7.x-3.x authored by jacob.embree
    Issue #3018935 by jacob.embree, colan: Replaced a sizeof() with strlen...
colan’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

jacob.embree’s picture

Issue summary: View changes
Issue tags: +PHP 7.0 (duplicate), +PHP 7.2

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.