3v4l.org

run code in 300+ PHP versions simultaneously
<?php // PHP 5.4 $data = "hoge" // PHP 5.5 $data = "hoge\0\0" var_dump($data = unpack('a1b/a1c', $packed)); // PHP 5.5 $data = "hoge" var_dump($data = unpack('Z6', $packed));
Output for git.master, git.master_jit
Warning: Undefined variable $packed in /in/lvclK on line 6 Deprecated: unpack(): Passing null to parameter #2 ($string) of type string is deprecated in /in/lvclK on line 6 Warning: unpack(): Type a: not enough input, need 1, have 0 in /in/lvclK on line 6 bool(false) Warning: Undefined variable $packed in /in/lvclK on line 9 Deprecated: unpack(): Passing null to parameter #2 ($string) of type string is deprecated in /in/lvclK on line 9 Warning: unpack(): Type Z: not enough input, need 6, have 0 in /in/lvclK on line 9 bool(false)
Output for rfc.property-hooks
Warning: Undefined variable $packed in /in/lvclK on line 6 Deprecated: unpack(): Passing null to parameter #2 ($string) of type string is deprecated in /in/lvclK on line 6 Warning: unpack(): Type a: not enough input values, need 1 values but only 0 were provided in /in/lvclK on line 6 bool(false) Warning: Undefined variable $packed in /in/lvclK on line 9 Deprecated: unpack(): Passing null to parameter #2 ($string) of type string is deprecated in /in/lvclK on line 9 Warning: unpack(): Type Z: not enough input values, need 6 values but only 0 were provided in /in/lvclK on line 9 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:
44.53 ms | 402 KiB | 8 Q