Bug #67470 [Fbk->Nab]: Php parser error, code execution in commentary

From: Date: Thu, 19 Jun 2014 07:43:18 +0000
Subject: Bug #67470 [Fbk->Nab]: Php parser error, code execution in commentary
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186246@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67470&edit=1 ID: 67470 Updated by: nikic@php.net Reported by: grillexx at gmail dot com Summary: Php parser error, code execution in commentary -Status: Feedback +Status: Not a bug Type: Bug Package: *General Issues Operating System: All PHP Version: 5.4Git-2014-06-19 (snap) Block user comment: N Private report: N New Comment: ?> terminates single line comments. Primarily this is done to easy commenting in mixed PHP&HTML code. Previous Comments: ------------------------------------------------------------------------ [2014-06-19 04:43:30] requinix@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2014-06-19 04:36:28] grillexx at gmail dot com Description: ------------ // This bug is in the parser I´think : // Execute code in commentary Example: // php is for you ?> <? echo "YESSS"; exit(); // I found it when doing regex with : ".+?>" #Thanks #Yuri Grille ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67470&edit=1

« previous php.bugs (#186246) next »