3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array(); $data[0] = unpack('a5', $packed); $data[1] = unpack('Z5', $packed); var_dump($data);
Output for git.master, git.master_jit
Warning: Undefined variable $packed in /in/KruID on line 3 Deprecated: unpack(): Passing null to parameter #2 ($string) of type string is deprecated in /in/KruID on line 3 Warning: unpack(): Type a: not enough input, need 5, have 0 in /in/KruID on line 3 Warning: Undefined variable $packed in /in/KruID on line 4 Deprecated: unpack(): Passing null to parameter #2 ($string) of type string is deprecated in /in/KruID on line 4 Warning: unpack(): Type Z: not enough input, need 5, have 0 in /in/KruID on line 4 array(2) { [0]=> bool(false) [1]=> bool(false) }
Output for rfc.property-hooks
Warning: Undefined variable $packed in /in/KruID on line 3 Deprecated: unpack(): Passing null to parameter #2 ($string) of type string is deprecated in /in/KruID on line 3 Warning: unpack(): Type a: not enough input values, need 5 values but only 0 were provided in /in/KruID on line 3 Warning: Undefined variable $packed in /in/KruID on line 4 Deprecated: unpack(): Passing null to parameter #2 ($string) of type string is deprecated in /in/KruID on line 4 Warning: unpack(): Type Z: not enough input values, need 5 values but only 0 were provided in /in/KruID on line 4 array(2) { [0]=> bool(false) [1]=> bool(false) }

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