3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('vk_group' => NULL,'vk_group1' => 'http://vk.com/id43886762','vk_group2' => NULL); var_dump(date_create(null)); var_dump(date_create()->modify('+6 month'));
Output for git.master
Deprecated: date_create(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/KkgEo on line 4 object(DateTime)#1 (3) { ["date"]=> string(26) "2013-11-12 12:02:45.004794" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-12 12:02:45.004820" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for git.master_jit
Deprecated: date_create(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/KkgEo on line 4 object(DateTime)#1 (3) { ["date"]=> string(26) "2013-11-12 12:02:45.003854" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-12 12:02:45.003884" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for rfc.property-hooks
Deprecated: date_create(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/KkgEo on line 4 object(DateTime)#1 (3) { ["date"]=> string(26) "2013-11-12 12:02:45.004567" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2014-05-12 12:02:45.004607" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }

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