問題タブ [php-parse-error]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
36 参照

php - 私はPHPを初めて使用します。「PHP解析エラー:構文エラー、予期しない '$sum' (T_VARIABLE)」というエラーが表示されます

これがコードです

エラー:

PHP 解析エラー: 構文エラー、/var/labsstorage/home/Jaswanth/files/test.php 行 40 の予期しない '$sum' (T_VARIABLE)