3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pngPixel = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAADklEQVQYV2NkgAJGGAMAAC0AA03DhRMAAAAASUVORK5CYII="; var_dump(stream_get_wrappers()); $source = fopen($pngPixel, 'rb'); $streamMetadata = stream_get_meta_data($source); var_dump($streamMetadata);
Output for git.master, git.master_jit, rfc.property-hooks
array(8) { [0]=> string(13) "compress.zlib" [1]=> string(3) "php" [2]=> string(4) "file" [3]=> string(4) "glob" [4]=> string(4) "data" [5]=> string(4) "http" [6]=> string(3) "ftp" [7]=> string(4) "phar" } array(8) { ["mediatype"]=> string(9) "image/png" ["base64"]=> bool(true) ["wrapper_type"]=> string(7) "RFC2397" ["stream_type"]=> string(7) "RFC2397" ["mode"]=> string(2) "rb" ["unread_bytes"]=> int(0) ["seekable"]=> bool(true) ["uri"]=> string(118) "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAADklEQVQYV2NkgAJGGAMAAC0AA03DhRMAAAAASUVORK5CYII=" }

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:
175.61 ms | 407 KiB | 5 Q