<?php class MyClass { function toSentry() { return 'Hello there!'; } } $object = new MyClass; var_export(method_exists($object, 'toSentry')); echo PHP_EOL . 'Serialized value for MyClass: ' . $object->toSentry();
You have javascript disabled. You will not be able to edit any code.