3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace \CacheException; class DriverOffline extends Exception {} class KeyExists extends Exception {} try { throw new \CacheException\KeyExists; } catch (\CacheException\DriverOffline $e) { var_dump($e); } catch (\CacheException\KeyExists $e) { var_dump($e); }

This is an error 404

There are `0` results


preferences:
138.51 ms | 1399 KiB | 7 Q