Re: Arginfo Mismatch For Optional Parameters

From: Date: Mon, 31 Jul 2023 19:38:21 +0000
Subject: Re: Arginfo Mismatch For Optional Parameters
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-120873@lists.php.net to get a copy of this message
Hi, The problem is that your arginfo declares parameters of type double, while you accept the double|null type in ZPP. P.s. i'm not sure based on your message whether you use stubs for declaring symbols, but if that's not the case, then doing so is highly recommended. You can find plenty of examples in php-src (*.stub.php files). Regards, Máté

« previous php.internals (#120873) next »