3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sql = "(select #, count(*) from rateexport where rateexport.`block # rate` > 0) as B_#," . PHP_EOL; for ($x = 1; $x < 31; $x++) { echo str_replace("#", $x, $sql); }
Output for git.master, git.master_jit, rfc.property-hooks
(select 1, count(*) from rateexport where rateexport.`block 1 rate` > 0) as B_1, (select 2, count(*) from rateexport where rateexport.`block 2 rate` > 0) as B_2, (select 3, count(*) from rateexport where rateexport.`block 3 rate` > 0) as B_3, (select 4, count(*) from rateexport where rateexport.`block 4 rate` > 0) as B_4, (select 5, count(*) from rateexport where rateexport.`block 5 rate` > 0) as B_5, (select 6, count(*) from rateexport where rateexport.`block 6 rate` > 0) as B_6, (select 7, count(*) from rateexport where rateexport.`block 7 rate` > 0) as B_7, (select 8, count(*) from rateexport where rateexport.`block 8 rate` > 0) as B_8, (select 9, count(*) from rateexport where rateexport.`block 9 rate` > 0) as B_9, (select 10, count(*) from rateexport where rateexport.`block 10 rate` > 0) as B_10, (select 11, count(*) from rateexport where rateexport.`block 11 rate` > 0) as B_11, (select 12, count(*) from rateexport where rateexport.`block 12 rate` > 0) as B_12, (select 13, count(*) from rateexport where rateexport.`block 13 rate` > 0) as B_13, (select 14, count(*) from rateexport where rateexport.`block 14 rate` > 0) as B_14, (select 15, count(*) from rateexport where rateexport.`block 15 rate` > 0) as B_15, (select 16, count(*) from rateexport where rateexport.`block 16 rate` > 0) as B_16, (select 17, count(*) from rateexport where rateexport.`block 17 rate` > 0) as B_17, (select 18, count(*) from rateexport where rateexport.`block 18 rate` > 0) as B_18, (select 19, count(*) from rateexport where rateexport.`block 19 rate` > 0) as B_19, (select 20, count(*) from rateexport where rateexport.`block 20 rate` > 0) as B_20, (select 21, count(*) from rateexport where rateexport.`block 21 rate` > 0) as B_21, (select 22, count(*) from rateexport where rateexport.`block 22 rate` > 0) as B_22, (select 23, count(*) from rateexport where rateexport.`block 23 rate` > 0) as B_23, (select 24, count(*) from rateexport where rateexport.`block 24 rate` > 0) as B_24, (select 25, count(*) from rateexport where rateexport.`block 25 rate` > 0) as B_25, (select 26, count(*) from rateexport where rateexport.`block 26 rate` > 0) as B_26, (select 27, count(*) from rateexport where rateexport.`block 27 rate` > 0) as B_27, (select 28, count(*) from rateexport where rateexport.`block 28 rate` > 0) as B_28, (select 29, count(*) from rateexport where rateexport.`block 29 rate` > 0) as B_29, (select 30, count(*) from rateexport where rateexport.`block 30 rate` > 0) as B_30,

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:
52.44 ms | 409 KiB | 8 Q