[php-src] Issue #14580: Type Conversion for method/function parameters

From: Date: Sun, 16 Jun 2024 06:16:37 +0000
Subject: [php-src] Issue #14580: Type Conversion for method/function parameters
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247095@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/14580 Author: GokhanKR ### Description A feature for the object methods. As you know we can declare types in a method. But we can't determine a variable conversion into it. For example: ` class MyString { public function isNickName( $text ) { return preg_match( ... $text ); } } ` ` public function myFunction( string{MyString::isNickName} $nickName ) ... `

« previous php.bugs (#247095) next »