Answers for "check if object has method php"

PHP
0

check if object has method php

<?php
$directory = new Directory('.');
var_dump(method_exists($directory,'read'));
?>
Posted by: Guest on July-06-2021

Code answers related to "check if object has method php"

Browse Popular Code Answers by Language