Trait support does not to seem working for MAMP

Report any found bug here. We are grateful for any useful clues.

Moderator: severin

Post Reply
Metalenkist
Posts: 2
Joined: Fri 31. May 2013, 13:17

Trait support does not to seem working for MAMP

Post by Metalenkist » Fri 31. May 2013, 13:58

Hi all,

There seems to be an issue with MAMP 2.1.3 and PHP 5.4.10.
PHP trait functionality does not seem to work.
I also found an issue on stackoverflow: http://stackoverflow.com/questions/1663 ... first-load

It's very easy to reproduce like:

Code: Select all

<?php
error_reporting(E_ALL);
ini_set("display_errors", "on");

trait Hello
{
    public function Hello()
    {
        echo "Trait: Ja halloooooooo\n";
    }
}

class Leon
{
    use Hello;

    public function Hello()
    {
        echo "Leon: Meeeeeeeeeeeehhhh\n";
    }
}

$oLeon = new Leon();
$oLeon->Hello();

//echo "hello world test";
?>


I don't see anything in the logs. Can someone confirm that this is real bug?

Many thanks in advance

Leon

Metalenkist
Posts: 2
Joined: Fri 31. May 2013, 13:17

Re: Trait support does not to seem working for MAMP

Post by Metalenkist » Sun 9. Jun 2013, 07:56

It looks like it has to do with xcache and maybe apc as well

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest