3v4l.org

run code in 300+ PHP versions simultaneously
<?php $functions = get_defined_functions(); foreach ($functions['internal'] as $functionName) { $function = new ReflectionFunction($functionName); if ($function->isDeprecated()) { printf($function); } }
Output for git.master, git.master_jit, rfc.property-hooks
Function [ <internal, deprecated:date> function strftime ] { - Parameters [2] { Parameter #0 [ <required> string $format ] Parameter #1 [ <optional> ?int $timestamp = null ] } - Return [ string|false ] } Function [ <internal, deprecated:date> function gmstrftime ] { - Parameters [2] { Parameter #0 [ <required> string $format ] Parameter #1 [ <optional> ?int $timestamp = null ] } - Return [ string|false ] } Function [ <internal, deprecated:date> function date_sunrise ] { - Parameters [6] { Parameter #0 [ <required> int $timestamp ] Parameter #1 [ <optional> int $returnFormat = SUNFUNCS_RET_STRING ] Parameter #2 [ <optional> ?float $latitude = null ] Parameter #3 [ <optional> ?float $longitude = null ] Parameter #4 [ <optional> ?float $zenith = null ] Parameter #5 [ <optional> ?float $utcOffset = null ] } - Return [ string|int|float|false ] } Function [ <internal, deprecated:date> function date_sunset ] { - Parameters [6] { Parameter #0 [ <required> int $timestamp ] Parameter #1 [ <optional> int $returnFormat = SUNFUNCS_RET_STRING ] Parameter #2 [ <optional> ?float $latitude = null ] Parameter #3 [ <optional> ?float $longitude = null ] Parameter #4 [ <optional> ?float $zenith = null ] Parameter #5 [ <optional> ?float $utcOffset = null ] } - Return [ string|int|float|false ] } Function [ <internal, deprecated:libxml> function libxml_disable_entity_loader ] { - Parameters [1] { Parameter #0 [ <optional> bool $disable = true ] } - Return [ bool ] } Function [ <internal, deprecated:standard> function strptime ] { - Parameters [2] { Parameter #0 [ <required> string $timestamp ] Parameter #1 [ <required> string $format ] } - Return [ array|false ] } Function [ <internal, deprecated:standard> function utf8_encode ] { - Parameters [1] { Parameter #0 [ <required> string $string ] } - Return [ string ] } Function [ <internal, deprecated:standard> function utf8_decode ] { - Parameters [1] { Parameter #0 [ <required> string $string ] } - Return [ string ] }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
34.04 ms | 409 KiB | 8 Q