3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stream = fopen('data:text/plain;charset=iso-8859-7,%be%fg%be', 'r'); print_r(stream_get_meta_data($stream));
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.29, 7.4.0 - 7.4.21, 8.0.0 - 8.0.8
Array ( [mediatype] => text/plain [charset] => iso-8859-7 [base64] => [wrapper_type] => RFC2397 [stream_type] => RFC2397 [mode] => r [unread_bytes] => 0 [seekable] => 1 [uri] => data:text/plain;charset=iso-8859-7,%be%fg%be )

preferences:
257.44 ms | 460 KiB | 5 Q