3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regSecond = 30; $regtime = trim('/Date(1466509710320+0000)/', $charlist= '/Date()') / 1000; $regSecond = date("s", $regtime); $setA = array('00', '01', '02', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '42', '43'); if (in_array($regSecond, $setA)) { echo 'Set A'; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: A non-numeric value encountered in /in/ba7u4 on line 3 Deprecated: Implicit conversion from float 1466509710.32 to int loses precision in /in/ba7u4 on line 4 Set A

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:
40.85 ms | 401 KiB | 8 Q