Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

webcomic_compat()

Michael Sisk edited this page Apr 10, 2018 · 1 revision

Attempt to invoke a compatibility method.

webcomic_compat( string $method, array $args = [], mixed $default = null ) : mixed

Parameters

string $method

The method to invoke, if it's available.

array $args

Optional arguments to pass to the method.

mixed $default

Optional value to return if $method does not exist.

Return

mixed

Clone this wiki locally