3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i=702; $e = '0'; $i = 2; do { $e = bcpow(2,++$i); } while ($e < '27182818284590452353602874713526624977572470936999595749669676277240766303535475945713821785251664274'); echo $i."\n"; echo $e."\n"; echo bcpow(2,$i-1); echo bcsub('27182818284590452353602874713526624977572470936999595749669676277240766303535475945713821785251664274', $e)."\n"; echo bcsub('27182818284590452353602874713526624977572470936999595749669676277240766303535475945713821785251664274', bcpow(2,$i-1));
Output for git.master, git.master_jit, rfc.property-hooks
334 34996011596528190789960035633881941845650710894291398982812329702559247987190014771576210832368861184 17498005798264095394980017816940970922825355447145699491406164851279623993595007385788105416184430592-7813193311937738436357160920355316868078239957291803233142653425318481683654538825862389047117196910 9684812486326356958622856896585654054747115489853896258263511425961142309940468559925716369067233682

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:
42.44 ms | 402 KiB | 8 Q