3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start_key = str_replace('-----BEGIN RSA PUBLIC KEY-----', '', $start_key); $start_key = trim(str_replace('-----END RSA PUBLIC KEY-----', '', $start_key)); $key = 'MIICIjANBgkqhkiG9w0BAQEFAAOCAg8A' . str_replace("\n", '', $start_key); $key = "-----BEGIN PUBLIC KEY-----\n" . wordwrap($key, 64, "\n", true) . "\n-----END PUBLIC KEY-----"; echo $key;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $start_key in /in/LrFaX on line 2 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/LrFaX on line 2 -----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8A -----END PUBLIC KEY-----

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:
44.88 ms | 402 KiB | 8 Q