Ubuntu 管理心得

搜尋此網誌

2022年5月2日 星期一

Array and string offset access syntax with curly braces is no longer supported

cd /usr/share/php/Spreadsheet/Excel/Writer/
Edit Parser.php, change all $xxx{yyy} to $xxx[yyy]
Inside vim, search, eq, $col_ss{$i}, using this
/\$.*{.*}
then relplace { and } with [ and ], using 
qqf{r[f}r]
then / -> enter -> @q

cd /usr/share/php
Edit OLE.php, change all $xxx{yyy} to $xxx[yyy]

沒有留言:

張貼留言

網誌存檔