| 
 | 1 | +<?php // lint >= 8.4  | 
 | 2 | + | 
 | 3 | +namespace Pr1244Php84;  | 
 | 4 | + | 
 | 5 | +use function PHPStan\Testing\assertType;  | 
 | 6 | + | 
 | 7 | +function foo() {  | 
 | 8 | +	/** @var string $string */  | 
 | 9 | +	$string = doFoo();  | 
 | 10 | + | 
 | 11 | +	assertType('null', var_export());  | 
 | 12 | +	assertType('null', var_export($string));  | 
 | 13 | +	assertType('null', var_export($string, false));  | 
 | 14 | +	assertType('string', var_export($string, true));  | 
 | 15 | + | 
 | 16 | +	assertType('true', highlight_string());  | 
 | 17 | +	assertType('true', highlight_string($string));  | 
 | 18 | +	assertType('true', highlight_string($string, false));  | 
 | 19 | +	assertType('string', highlight_string($string, true));  | 
 | 20 | + | 
 | 21 | +	assertType('bool', highlight_file());  | 
 | 22 | +	assertType('bool', highlight_file($string));  | 
 | 23 | +	assertType('bool', highlight_file($string, false));  | 
 | 24 | +	assertType('string', highlight_file($string, true));  | 
 | 25 | + | 
 | 26 | +	assertType('bool', show_source());  | 
 | 27 | +	assertType('bool', show_source($string));  | 
 | 28 | +	assertType('bool', show_source($string, false));  | 
 | 29 | +	assertType('string', show_source($string, true));  | 
 | 30 | + | 
 | 31 | +	assertType('true', print_r());  | 
 | 32 | +	assertType('true', print_r($string));  | 
 | 33 | +	assertType('true', print_r($string, false));  | 
 | 34 | +	assertType('string', print_r($string, true));  | 
 | 35 | +}  | 
0 commit comments