[ https://issues.apache.org/jira/browse/NETBEANS-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16909528#comment-16909528 ]
Junichi Yamamoto commented on NETBEANS-501: ------------------------------------------- Thank you for reporting it. Please write example code to reproduce it since next time :) Like the following: {code} <?php class Example { public function __construct() { } public function testMethod() { echo 'test' . PHP_EOL; } } $example = new Example(); (new Example())->testMethod(); // OK $example->testMethod(); // OK (clone $example)->testMethod(); // CC doesn't work {code} > Support (clone $object)->method() in PHP > ---------------------------------------- > > Key: NETBEANS-501 > URL: https://issues.apache.org/jira/browse/NETBEANS-501 > Project: NetBeans > Issue Type: Bug > Components: php - Editor > Reporter: Varun Agrawal > Assignee: Junichi Yamamoto > Priority: Minor > > PHP supports this. While NetBeans support (new $object)->method(), it doesn't > support clone keyword here. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists