Bug #70200 [Opn->Nab]: Just testing PHP7

From: Date: Thu, 06 Aug 2015 10:56:59 +0000
Subject: Bug #70200 [Opn->Nab]: Just testing PHP7
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194982@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70200&edit=1 ID: 70200 Updated by: cmb@php.net Reported by: wantedxenon at hotmail dot com Summary: Just testing PHP7 -Status: Open +Status: Not a bug Type: Bug Package: *General Issues Operating System: Windows 8.1 PHP Version: 7.0.0beta3 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: "Assignment of new by reference" has already been deprecated since PHP 5.3.0. As of PHP 7.0.0 it is an error. See <https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7>. Previous Comments: ------------------------------------------------------------------------ [2015-08-06 10:04:09] wantedxenon at hotmail dot com Description: ------------ function &OutputDefault( &$msg ) { $os =& new COutString(); $os->AddItem( CStr::n2e( $this->GetVal() ) ); return $os; } Test script: --------------- PHP Parse error: syntax error, unexpected 'new' (T_NEW) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70200&edit=1

« previous php.bugs (#194982) next »