Simon Welsh

Results issues of Simon Welsh

``` php addChild('b'); var_dump($a->asXML()); ``` Expected (Zend) output: ``` string(34) " " ``` Actual output: ``` string(37) " " ``` The `` is self-closing under Zend but not HHVM. This...

php5 incompatibility
external

Steps to reproduce: ``` $ hhvm -a hphpd> b / ``` Assertion: ``` hhvm: /tmp/tmp.kZqhd0K3cn/hphp/runtime/vm/class.cpp:2445: void HPHP::Class::getClassInfo(HPHP::ClassInfoVM*): Assertion `!strcmp(name->data(), "86ctor")' failed. ``` Stack trace: ``` Host: ee-hhvm ProcessID: 21208 ThreadID:...

crash
needs more info
no isolated repro

Updated to today's nightly, and got an assertion failure during a FastCGI request: ``` Host: ee-hhvm ProcessID: 11763 ThreadID: 7f3b887ff700 ThreadPID: 11919 Name: unknown program Type: Aborted Runtime: hhvm Version:...

crash
webserver

Code: ``` php B120 was expecting: Str received: Cell /tmp/tmp.i5Wfw9qjJv/hphp/runtime/vm/jit/type.cpp:977: HPHP::JIT::assertOperandTypes(const HPHP::JIT::IRInstruction*)::__lambda79: assertion `false && "instruction operand type check failure"' failed. ``` The echo also gets called once. Stack trace:...

crash
php5 incompatibility

HHVM 3.8.0 config.hdf: ``` PidFile = /var/run/hhvm/proxygen Server { Type = proxygen Port = 8080 SourceRoot = /var/www/ } ``` Running `hhvm --config /etc/hhvm/php.ini --config /etc/hhvm/proxygen.hdf -m server` from inside...

webserver
probably easy

I'm using the `?->` operator inside a loop to get to deep-nested values in a recursive structure. However, without exiting early from the loop, Hack keeps complaining. Using `?->` on...

hack
low-pri

``` hack getA(); if ($a !== null) { $this->setA($a); } if (($a = $this->getA()) !== null) { $this->setA($a); } if (($a = $this->getA()) && $a !== null) { $this->setA($a); }...

hack

We're using class names in user attributes and it would be nice to be able to use `::class` which the type checker can detected typos in instead of a string....

hack
probably easy

``` hack getParameters()[0]->getClass()); ``` Outputs `null` when it should be returning a `ReflectionClass` instance of `A` (as it does without the nullability type hint)

hack