1--TEST-- 2Empty enum with from/tryFrom doens't segfault 3--FILE-- 4<?php 5 6enum A: string {} 7 8var_dump(A::tryFrom('B')); 9 10?> 11--EXPECT-- 12NULL 13