hiphop-php /hphp/test/slow/parser/empty-construct/empty-clone.php

Language PHP Lines 10
MD5 Hash 185983c5939389dfe740e1966c70dc2a Estimated Cost $126 (why?)
Repository git://github.com/facebook/hiphop-php.git View Raw File View Project SPDX
1
2
3
4
5
6
7
8
9
<?php
error_reporting(-1);

class A {
  public $x, $y;
}

$a = new A();
var_dump(empty(clone $a));
Back to Top