3v4l.org

run code in 300+ PHP versions simultaneously
<?php $konstanty = array( 267, 51, 162, 131, 389, 71, 59, 164, 285, 5, 20, 100, 94, 224, 245, 121, 2, 234, 236, 342, 78, 33, 35, 3, 68, 2 ); $kostanty = array_map(function ($i) {return $i/3421;}, $konstanty); $x = []; foreach ($kostanty as $key => $konstanta) { $x[chr(ord('A')+$key)] = $konstanta; } echo json_encode($x);
Output for git.master, git.master_jit, rfc.property-hooks
{"A":0.07804735457468577,"B":0.014907921660333235,"C":0.04735457468576439,"D":0.038292896813797134,"E":0.11370944168371822,"F":0.02075416544869921,"G":0.017246419175679626,"H":0.04793919906460099,"I":0.08330897398421515,"J":0.0014615609470914938,"K":0.005846243788365975,"L":0.029231218941829874,"M":0.02747734580532008,"N":0.06547793042969892,"O":0.07161648640748319,"P":0.03536977491961415,"Q":0.0005846243788365975,"R":0.06840105232388191,"S":0.0689856767027185,"T":0.09997076878105816,"U":0.0228003507746273,"V":0.00964630225080386,"W":0.010230926629640456,"X":0.0008769365682548962,"Y":0.019877228880444315,"Z":0.0005846243788365975}

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