A few files had just <? which only works when the short_open_tag option is on. It is on by default (at least in current PHP versions) and we explicitly tell PHP not to read php.ini, but the PHP docs recommended to avoid it, and PHP can be built with --disable-short-tags.
10 lines
195 B
PHP
10 lines
195 B
PHP
<?php
|
|
|
|
require "tests.php";
|
|
|
|
$fail = new SimpleClassFail();
|
|
$work = new SimpleClassWork();
|
|
|
|
check::equal($work->getInner()->get(), $fail->getInner()->get(), "should both be 10");
|
|
|
|
check::done();
|