1--TEST-- 2Bug GH-8847: PHP hanging infinitly at 100% cpu when check php syntaxe of a valid file 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.file_update_protection=0 7--FILE-- 8<?php 9class klass 10{ 11 public function method(int $int, bool $bool=false) : int 12 { 13 while($int >= 0 && !$function1) 14 $int--; 15 if($bool) 16 while($int >= 0 && $function1) 17 $int--; 18 return $int; 19 } 20} 21?> 22DONE 23--EXPECTF-- 24DONE 25