hiphop-php /hphp/test/zend/good/tests/lang/bug30862.php

Language PHP Lines 16
MD5 Hash 8dcaae9c73000d06a08151fb12838e74 Estimated Cost $215 (why?)
Repository git://github.com/facebook/hiphop-php.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<?php 
class T {
	static $a = array(false=>"false", true=>"true");
}
print_r(T::$a);
?>
----------
<?php
define("X",0);
define("Y",1);
class T2 {
	static $a = array(X=>"false", Y=>"true");
}
print_r(T2::$a);
?>
Back to Top