Search code examples
phplaravel-5.3laravel-artisan

terminal -php artisan commands does not work properly


I am trying to learn larvel framework. When I try to use a php artisan command in teminal it does something unusual. It prints 'k' word with the command and than executes it.

➜ project git:(master) ✗ php artisan serv

kLaravel development server started: http://127.0.0.1:8000

➜ project git:(master) ✗ php artisan clear

kThe compiled services file has been removed.

and when I open my local server same weird 'k' letter shows up again.screenshot

screenshot

my parent view is(layout.blade.php):

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="{{ elixir('css/app.css') }}">
</head>
<body>
    @yield('content')
    @yield('footer')
</body>
</html>

and welcome page:

@extends('layout')
@section('content')
    <h1>The csdfadfda Goes Here</h1>
@stop

I don't know where the hell this 'k' comes from and i have no idea how to fix it. Do you have any suggestions?


Solution

  • You write a "k" character to your index.php or routes.php or any always parsed file before <?. Find and remove it.