Req #80619 [Opn->Wfx]: New String Operators

From: Date: Tue, 12 Jan 2021 17:42:24 +0000
Subject: Req #80619 [Opn->Wfx]: New String Operators
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231513@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80619&edit=1 ID: 80619 Updated by: cmb@php.net Reported by: 2fby7j8dpm at liamekaens dot com Summary: New String Operators -Status: Open +Status: Wont fix Type: Feature/Change Request -Package: Unknown/Other Function +Package: Strings related PHP Version: Next Major Version -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: I don't think that would be reasonable. If you feel strongly about it, please pursue the RFC process[1]. [1] <https://wiki.php.net/rfc/howto> Previous Comments: ------------------------------------------------------------------------ [2021-01-12 17:31:18] rtrtrtrtrt at dfdfdfdf dot dfd > =. to add a string to the RIGHT of the current string yeah, more typo pitfalls > =.= short for sprintf to gain what > .=. to add a string to the right and to the left of the current string what about $x = "{$y} your-string {$y}" https://blog.blackfire.io/php-7-performance-improvements-encapsed-strings-optimization.html ------------------------------------------------------------------------ [2021-01-12 17:24:59] 2fby7j8dpm at liamekaens dot com Description: ------------ Adding some new string operations would be nice: =. to add a string to the RIGHT of the current string =.= short for sprintf .=. to add a string to the right and to the left of the current string ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80619&edit=1

« previous php.bugs (#231513) next »