<分区>
我在他的网站上跟随 Jeffrey Ways laracasts 并且真的在学习,但不幸的是我在某个地方犯了一个错误,我不知道那是哪里。我收到以下错误。
https://laracasts.com/series/laravel-from-scratch
Symfony \ Component \ Debug \ Exception \ FatalErrorException
syntax error, unexpected '__data' (T_STRING)
<?php $__env->startSection('content'); ?>
<h1>All Users</h1>
<?php foreach($users as $user): ?>
<li><?php echo link_to("/users/{$user->username}", $user->username); ?></li>
<?php endforeach; ?>;
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.default, array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
我不太清楚为什么会遇到这个问题。有人可以向我解释一下以便我理解吗?