rendered paste body###################################################################################### bug or by design?# tested in 5.2.2 (cli), 4.4.7 (cgi-fcgi)# (same results in each)#####################################################################################/* expected: string(4) "foo " actual: string(5) "foo side effect(s): script processing halted after the var_dump() call*/$x = 'foo';$x[5] = '';var_dump($x);#####################################################################################/* expected: string(5) "foo z" actual: string(5) "foo z" side effect(s): none found*/$x = 'foo';$x[5] = 'z';var_dump($x);#####################################################################################/* expected: 'foo ' actual: 'foo \000' side effect(s): none found*/$x = 'foo';$x[5] = '';var_export($x);