3v4l.org

run code in 300+ PHP versions simultaneously
<?php $max_width = 100; $actual_width = 67; // When an actual width is returned by the oEmbed provider. $concluded_width_currently = $max_width ?: $actual_width; $concluded_width_proposed = $actual_width ?: $max_width; var_dump($concluded_width_currently); var_dump($concluded_width_proposed); // When NO actual width is returned by the oEmbed provider. $actual_width = NULL; $concluded_width_currently = $max_width ?: $actual_width; $concluded_width_proposed = $actual_width ?: $max_width; var_dump($concluded_width_currently); var_dump($concluded_width_proposed);
Output for git.master, git.master_jit, rfc.property-hooks
int(100) int(67) int(100) int(100)

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:
89.89 ms | 405 KiB | 5 Q