3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print(serialize(array( 'conditions' => array( 'OR' => array( 'Event.active' => 1, 'Event.date >=' => date('Y-m-d'), ) ) )));
based on q2MHH
Output for 4.3.0 - 7.1.0
a:1:{s:10:"conditions";a:1:{s:2:"OR";a:2:{s:12:"Event.active";i:1;s:13:"Event.date >=";s:10:"2014-08-12";}}}