: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
/* Clear floats after the columns */
<div class="column middle" style="width:40%;height: 90%;background:red;border-radius: 1vmax 1vmax 1vmax 1vmax;">
<div style="font-size: 3vmin;font-weight: bold;height: 4vmin;margin-top: -1vmin;color:white;" align="left">THIS OVER
(<?php echo $LTdecoded->{"data"}->{"values"}->{"overs"}; ?>)</div>
<table style="width:100%;color:white;">
<tr style="height:4vmin;">
<td style="width:85%;background:#000000;padding-left:1vmin;font-size: 3vmin;">
if (isset($LTdecoded->{"data"}->{"balls"})) {
$ballsArray = $LTdecoded->{"data"}->{"balls"};
for ($i = 0; $i < count($ballsArray); $i++) {
$newball = $LTdecoded->{"data"}->{"balls"}[$i];
$newball = $LTdecoded->{"data"}->{"balls"}[$i];
$rundisplayed = $rundisplayed . " " . $newball;
<td style="width: 15%;font-size: 4vmin;font-family: inherit;color: white;font-weight: bold;" align="center">
echo end($decoded2->{"overMap"})->{"runs"};
<table style="width:100%;color:white;text-align: center;" align="center">
<tr style="height:4vmin;font-size: 2.5vmin;font-family: inherit;">
<td colspan="4" style="width:25%;background:#000000;">
<td colspan="4" style="width:25%;background:#000000;">
if (!empty($decoded->{"data"}->{"innings4"}->{"bowling"})) {
$value = array_keys((array)$balldecoded->{"data"}->{"innings4Balls"}->{"oversMap"});
while (count($value) > 2) {
$balls = $balldecoded->{"data"}->{"innings4Balls"}->{"oversMap"}->{$value[0]};
} else if (!empty($decoded->{"data"}->{"innings3"}->{"bowling"})) {
$value = array_keys((array)$balldecoded->{"data"}->{"innings3Balls"}->{"oversMap"});
while (count($value) > 2) {
$balls = $balldecoded->{"data"}->{"innings3Balls"}->{"oversMap"}->{$value[0]};
} else if (!empty($decoded->{"data"}->{"innings2"}->{"bowling"})) {
$value = array_keys((array)$balldecoded->{"data"}->{"innings2Balls"}->{"oversMap"});
while (count($value) > 2) {
$balls = $balldecoded->{"data"}->{"innings2Balls"}->{"oversMap"}->{$value[0]};
} else if (!empty($decoded->{"data"}->{"innings1"}->{"bowling"})) {
$value = array_keys((array)$balldecoded->{"data"}->{"innings1Balls"}->{"oversMap"});
while (count($value) > 2) {
$balls = $balldecoded->{"data"}->{"innings1Balls"}->{"oversMap"}->{$value[0]};
for ($i = count($balls->{"balls"}) - 1; $i >= 0; $i--) {
if ($balls->{"balls"}[$i]->{"ballType"} != "Auto Comment Ball") {
if ($balls->{"balls"}[$i]->{"runsDisplay"} == ".") {
$prevruns = $prevruns . " " . "0";
$prevruns = $prevruns . " " . $balls->{"balls"}[$i]->{"runsDisplay"};
<tr style="height:4vmin;font-size: 2.5vmin;font-family: inherit;">
<td colspan="4" style="width:25%;background:#000000;">
<td colspan="4" style="width:25%;background:#000000;font-size:2vmin;">
if (!empty($decoded->{"data"}->{"innings2"}->{"bowling"})) {
$testing2array = array();
foreach (@$balldecoded->{"data"}->{"innings2Balls"}->{"oversMap"} as $key => $value) {
array_push($testing2array, $key);
for ($i = 0; $i < count($testing2array); $i++) {
foreach (array_reverse($balldecoded->{"data"}->{"innings2Balls"}->{"oversMap"}->{$testing2array[$i]}->{"balls"}) as $value) {
if ($value->{"ballType"} !== "Auto Comment Ball" && $value->{"ballType"} !== "Wide" && $value->{"ballType"} !== "Leg Bye" && $value->{"ballType"} !== "Bye" && $value->{"ballType"} !== "No Ball" && $value->{"ballType"} !== "No Ball of Bat") {
if ($value->{"runsDisplay"} === "4" || $value->{"runsDisplay"} === "6") {
$team2string = $count2 . " BALLS";
} else if (!empty($decoded->{"data"}->{"innings1"}->{"bowling"})) {
$testing1array = array();
foreach ($balldecoded->{"data"}->{"innings1Balls"}->{"oversMap"} as $key => $value) {
array_push($testing1array, $key);
for ($i = 0; $i < count($testing1array); $i++) {
foreach (array_reverse($balldecoded->{"data"}->{"innings1Balls"}->{"oversMap"}->{$testing1array[$i]}->{"balls"}) as $key => $value) {
if ($value->{"ballType"} !== "Auto Comment Ball" && $value->{"ballType"} !== "Wide" && $value->{"ballType"} !== "Leg Bye" && $value->{"ballType"} !== "Bye" && $value->{"ballType"} !== "No Ball" && $value->{"ballType"} !== "No Ball of Bat") {
if ($value->{"runsDisplay"} === "4" || $value->{"runsDisplay"} === "6") {
$team1string = $count1 . " BALLS";
<tr style="height:4vmin;font-size: 2.5vmin;font-family: inherit;">
<td colspan="2" style="width:25%;background:#000000;">
<td colspan="2" style="width:25%;background:#000000;">
for ($i = 0; $i < 11; $i++) {
$fours1 += @$decoded->{"data"}->{"innings1"}->{"batting"}[$i]->{"fours"};
$fours2 += @$decoded->{"data"}->{"innings2"}->{"batting"}[$i]->{"fours"};
if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} == "true") {
} else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} == "false") {
<td colspan="2" style="width:25%;background:#000000;">
<td colspan="2" style="width:25%;background:#000000;">
for ($i = 0; $i < 11; $i++) {
$sixers1 += @$decoded->{"data"}->{"innings1"}->{"batting"}[$i]->{"sixers"};
$sixers2 += @$decoded->{"data"}->{"innings2"}->{"batting"}[$i]->{"sixers"};
if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} == "true") {
} else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} == "false") {
// echo empty($decoded->{"data"}->{"innings3"}->{"batting"}) ? $sixers1 + $sixers2 : $sixers1_1 + $sixers2_2;
<tr style="height:4vmin;font-size: 2.5vmin;font-family: inherit;">
<td style="width:12.5%;background:#000000;">
<td style="width:12.5%;background:#000000;">
if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "true") {
} else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "false") {
<td style="width:12.5%;background:#000000;">
<td style="width:12.5%;background:#000000;">
if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "true") {
} else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "false") {
<td style="width:12.5%;background:#000000;">
<td style="width:12.5%;background:#000000;">
if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "true") {
} else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "false") {
<td style="width:12.5%;background:#000000;">
<td style="width:12.5%;background:#000000;">
if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "true") {
} else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "false") {