- Output for 7.0.0
- Fatal error: Cannot use 'String' as class name as it is reserved in /in/dvvDT on line 5
Process exited with code 255. - Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
- OK
<?php
namespace Slevomat\String;
class String
{
public function __construct()
{
echo 'OK';
}
}
$y = new String();