From: George Peter Banyard Date: Tue, 7 Jan 2020 21:55:43 +0000 (+0100) Subject: Add warning and convert to exception in string offset assignment: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4cac97bfb9b2321b00fa508162957e19dc0afb4b;p=php Add warning and convert to exception in string offset assignment: Convert the empty string assignment to an Error as per RFC [1] Add a warning that only the first byte will be assigned to the offset if provided a needle that is longer than one byte. [1] https://wiki.php.net/rfc/engine_warnings Closes GH-5063 --- 4cac97bfb9b2321b00fa508162957e19dc0afb4b