On 04/05/2011 04:31 AM, Inez Korczynski wrote:
Hi Tim,
I have no problem running foo.php and test.php that you sent in hphpi, but
also it compiles and run without any problems with hphp. What command
exactly do you use to compile and then execute?
To compile:
hphp --target=cpp --format=exe --input-dir=. \
-i class-test.php -i class-test-2.php \
-i class-test-3.php -i define-test.php \
-c../compiler.conf --parse-on-demand=true \
--program=test --output-dir=build --log=4
where ../compiler.conf is the configuration file I checked in to
subversion in maintenance/hiphop, class-test*.php are the various
class declaration tests.
To execute:
build/test -f class-test.php
etc.
-- Tim Starling