Closed thekid closed 1 year ago
...when emitting a try/catch nested inside a catch block for PHP 7.0:
use lang\IllegalArgumentException; class Test { public function run() { try { throw new IllegalArgumentException("test"); } catch (IllegalArgumentException $expected) { try { throw $expected; } catch (IllegalArgumentException $expected) { return $expected->getMessage(); } } } }
Fix released in https://github.com/xp-framework/compiler/releases/tag/v8.8.5
...when emitting a try/catch nested inside a catch block for PHP 7.0: