Skip to content

Script ended unexpectedly. #52

@DavBE

Description

@DavBE

Hi!

I get a "Script ended unexpectedly" error when running the following code :

$d = new DateTime();
$i = new DateInterval('P2W');
$p = new DatePeriod($d, $i, 5);

< $p;

php-console is running in the php 7 built-in web server (PHP 7.0.8-0ubuntu0.16.04.3).

Am I doing something wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions