Yes, intentional due to possible useless warning. One can pass invalid PHP code.