1--TEST-- 2Explicitly strict_types=0 code calling strict_types=1 code 3--FILE-- 4<?php 5 6declare(strict_types=0); 7 8// file with strict_types=1 9require 'weak_call_strict_2.inc'; 10 11// Will succeed: Function was declared in strict mode, but that does not matter 12// This file uses weak mode, so the call is weak, and float accepted for int 13function_declared_in_strict_mode(1.0); 14?> 15--EXPECT-- 16Success! 17