Use implode like this -
echo "'" . implode("','", $pages->visible()->pluck('uri')) . "'" ;
Just swap the params.
Look for the docs on the web site here, make sure you use some sort of code inspection tool as a first step. Then check if you have any breaking changes and fix that. Then you check the new features for the next version and do the same up to the version you are on.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…