1--TEST--
2Exception thrown during SCCP evaluation, strict types variation
3--FILE--
4<?php
5
6declare(strict_types=1);
7var_dump(str_contains("123", 1));
8
9?>
10--EXPECTF--
11Fatal error: Uncaught TypeError: str_contains(): Argument #2 ($needle) must be of type string, int given in %s:%d
12Stack trace:
13#0 %s(%d): str_contains('123', 1)
14#1 {main}
15  thrown in %s on line %d
16