[php-src] Issue #15095: PHP interpretor stops on ?> inside comment

From: Date: Wed, 24 Jul 2024 19:28:43 +0000
Subject: [php-src] Issue #15095: PHP interpretor stops on ?> inside comment
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247364@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/15095 Author: gtech99 ### Description The following code: ``` <?php //$request='<?xml version="1.0" encoding="utf-8"?>'; print "Hey"; ?> ``` Resulted in this output: ``` ';Hey ``` But I expected this output instead: ``` Hey ``` ### PHP Version PHP 8.2 ### Operating System Linux/FreeBSD

« previous php.bugs (#247364) next »