3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function romanToDecimal($num) { $dec = 0; $i = 0; $romans = ['M', 'D', 'C', 'L', 'X', 'V', 'I']; $decs = [1000, 500, 100, 50, 10, 5, 1]; $rptr = 0; $num .= ' '; while ($i < strlen($num) - 1) { if ($num[$i] === $romans[$rptr]) { if (($rptr > 0) && ($num[$i + 1] === $romans[$rptr - 1])) { $dec -= $decs[$rptr]; $rptr -= 1; } else if (($rptr > 1) && ($num[$i + 1] === $romans[$rptr - 2])) { $dec -= $decs[$rptr]; $rptr -= 2; } else { $dec += $decs[$rptr]; } $i++; } else { $rptr++; if($rptr > count($decs)) return -1; } } return $dec; } function decimal2roman($num) { $romans = ['M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I']; $decs = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1]; $len = count($decs); $rom = ''; while ($num) { $i = 0; while ($decs[$i++] > $num && $i < $len); $rom .= $romans[$i]; $num -= $decs[i]; } return $rom; } echo romanToDecimal('MCXII') . "\n"; echo romanToDecimal('LIII') . "\n"; echo romanToDecimal('XCIX') . "\n"; echo romanToDecimal('XLVII') . "\n"; echo romanToDecimal('I') . "\n"; echo romanToDecimal('IV') . "\n"; echo romanToDecimal('DCCCXCIX') . "\n"; echo romanToDecimal('MMMCMXCIX') . "\n"; echo decimal2roman(128) . "\n"; ?>
Output for 5.4.0 - 5.6.25, 7.0.0 - 7.1.0
1112 53 99 47 1 4 899 3999 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i
Process exited with code 137.
Output for hhvm-3.10.0 - 3.12.0
1112 53 99 47 1 4 899 3999 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45 Notice: Use of undefined constant i - assumed 'i' in /in/XJsCM on line 45 Notice: Undefined index: i in /in/XJsCM on line 45
Process exited with code 137.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/XJsCM on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/XJsCM on line 7
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/XJsCM on line 7
Process exited with code 255.