PHPスクリプトからストリーミングエラーが発生しました。あなたはend
に直接explode
関数を渡すことができないことを意味厳密な基準:参照のみで変数を渡す必要があります。[5.6]
The array. This array is passed by reference because it is modified by the function. This means you must pass it a real variable and not a function returning an array because only actual variables may be passed by reference.
:
Strict Standards: Only variables should be passed by reference in /home/x/public_html/xstream/episodestream.php on line 114
<?php
$url = $cap['seo'];
$numero = end(explode('-', $url));
$palabra1 = str_replace($numero, '', $url);
$final = $palabra1;
?> // line 114
<?php if ($numero <= 1) {} else {?> // line 115
私のために働く:-https://eval.in/851243。 '$ url'にあるような詳細を提供できますか? –
'end()'を使う前に 'explode( ' - '、$ url)'を変数に格納してみてください。 '$ x = explode( ' - '、$ url); $ numero = end($ x) '; – BizzyBob
end()のように思えますが、変数にexplode( ' - '、$ url)を代入してみてください。 – Jarzon