ID: 45331 Updated by: [EMAIL PROTECTED] Reported By: j dot jeising at gmail dot com -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: Mac OS X 10.5.3 PHP Version: 5.2.6 New Comment:
report bug for imagick in http://pecl.php.net/imagick Previous Comments: ------------------------------------------------------------------------ [2008-06-22 23:03:39] j dot jeising at gmail dot com Description: ------------ With a space between -> and Imagick::clone PHP throws a parser error. Without the space everything is perfect. Reproduce code: --------------- $imagick = new Imagick ( 'path/to/a/image.jpg' ); $clone = $imagick -> clone ( ); // Spaces important! // Code which runs: //$clone = $imagick ->clone ( ); Expected result: ---------------- Clone of $imagick in $clone. Actual result: -------------- Parse error: syntax error, unexpected T_CLONE, expecting T_STRING or T_VARIABLE or '{' or '$' in .../file.php on line 2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45331&edit=1