[php-src] Issue #13300: String parsed as resource

From: Date: Thu, 01 Feb 2024 10:17:39 +0000
Subject: [php-src] Issue #13300: String parsed as resource
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-246383@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/13300 Author: AntoineMarques ### Description The following code: ```php <?php $foo = 'https://www.linkedin.com/in/thomaspetitcopy'; ``` Resulted in this output: ``` Is somehow recognized as a resource. Maybe because ends with copy. If i remove the trailing 'y' nothing bad happens. Found nothing in the documentation stating such behaviour is intended ``` But I expected this output instead: ``` Just a regular string containing a URL ``` ![Capture d'écran 2024-02-01 110149](https://github.com/php/php-src/assets/93318966/eaf4838f-074c-4eba-81f7-ad2e0d7c95e9) ### PHP Version PHP 8.3.1 ### Operating System _No response_

« previous php.bugs (#246383) next »