1--TEST-- 2$this re-assign in mb_parse_str() 3--SKIPIF-- 4<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?> 5--FILE-- 6<?php 7function foo() { 8 mb_parse_str("this=42"); 9 var_dump($this); 10} 11foo(); 12?> 13--EXPECTF-- 14Fatal error: Uncaught Error: Cannot re-assign $this in %sthis_in_mb_parse_str.php:3 15Stack trace: 16#0 %sthis_in_mb_parse_str.php(3): mb_parse_str('this=42') 17#1 %sthis_in_mb_parse_str.php(6): foo() 18#2 {main} 19 thrown in %sthis_in_mb_parse_str.php on line 3 20