I just noticed that only the first line of the exception message is affected.
throw new Exception(str_repeat('a', 978)."\n".str_repeat('a', 120000)."\n".str_repeat('a', 120000));
performs well. Notice that the length of the first line may be longer if there are multiple lines (978 vs. 916). However, adding more lines does not further increase the length.
I just noticed that only the first line of the exception message is affected.
throw new Exception( str_repeat( 'a', 978)."\ n".str_ repeat( 'a', 120000) ."\n".str_ repeat( 'a', 120000));
performs well. Notice that the length of the first line may be longer if there are multiple lines (978 vs. 916). However, adding more lines does not further increase the length.
*mind blown*