#45331 [NoF->Opn]: Imagick::clone with trailing space results in ParserError

From: Date: Mon, 30 Jun 2008 23:27:32 +0000
Subject: #45331 [NoF->Opn]: Imagick::clone with trailing space results in ParserError
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-126120@lists.php.net to get a copy of this message
ID: 45331 User updated by: j dot jeising at gmail dot com Reported By: j dot jeising at gmail dot com -Status: No Feedback +Status: Open Bug Type: Class/Object related Operating System: Mac OS X 10.5.3 PHP Version: 5.2.6 New Comment: Feedback from developers missing here. Previous Comments: ------------------------------------------------------------------------ [2008-06-30 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-06-24 00:03:59] j dot jeising at gmail dot com Testcase: --TEST-- Bug #45331 (Imagick::clone with trailing space results in ParserError) --FILE-- <?php $imagick = new Imagick ( 'image.jpg' ); $clone = $imagick -> clone ( ); var_dump ( $clone ); ?> --EXPECT-- object(Imagick)#2 (0) { } ------------------------------------------------------------------------ [2008-06-23 00:38:45] j dot jeising at gmail dot com Download file here: http://jannes.webkassel.de/test.php.zip ------------------------------------------------------------------------ [2008-06-23 00:33:14] pajoye@php.net Weird, it works here on windows and linux. Can you zip your src and post a link to it here please? Maybe there is a hidden character (not a space)? ------------------------------------------------------------------------ [2008-06-23 00:30:29] j dot jeising at gmail dot com Tested with latest snapshot on windows php test.php Parse error: syntax error, unexpected T_CLONE, expecting T_STRING or T_VARIABLE or '{' or '$' in test.php on line 4 Same probleme here. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/45331 -- Edit this bug report at http://bugs.php.net/?id=45331&edit=1

« previous php.bugs (#126120) next »