summaryrefslogtreecommitdiff
path: root/Zend/tests/type_declarations/strict_include_explicit_weak.phpt
blob: a42d633f47e5122320c1283644ad0f11f4e1e221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
strict_types=1 code including explicitly strict_types=0 code
--FILE--
<?php

declare(strict_types=1);

// file that's explicitly weak
require 'strict_include_explicit_weak_2.inc';

// calls within that file should stay weak, despite being included by strict fille
?>
--EXPECTF--
Success!