3v4l.org

run code in 300+ PHP versions simultaneously
<?php function button($text, $value, $col = 6, $row = 1, $color = "#ffffff", $size = 'large', $type = 'reply'){ return [ 'Columns' => $col, 'Rows' => $row, 'Text' => '<font color="'.$color.'"><b>'.$text.'</b></font>', 'BgColor' => "#30cecb", 'TextVAlign' => 'middle', 'TextHAlign' => 'middle', 'TextSize' => $size, 'ActionType' => $type, 'ActionBody' => $value, ]; } print_r(button(text:'Text here', color:'#333333', value:'value here'));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [Columns] => 6 [Rows] => 1 [Text] => <font color="#333333"><b>Text here</b></font> [BgColor] => #30cecb [TextVAlign] => middle [TextHAlign] => middle [TextSize] => large [ActionType] => reply [ActionBody] => value here )

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