This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
[ | |
'code' => 'BAG', | |
'desc' => 'Bag', | |
], | |
[ | |
'code' => 'CTN', | |
'desc' => 'Carton' | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
[ | |
"id" => 1, | |
"date_order" => 'MM/DD/YY', | |
'Description' => 'Month-Day-Year with leading zeros (02/17/2009)' | |
], | |
[ | |
"id" => 2, | |
"date_order" => 'DD/MM/YY', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function SortAndMergeArrayOfStudentAges($firstArray, $secondArray) | |
{ | |
if (gettype($firstArray) != 'array' && gettype($secondArray) != 'array') { | |
return []; | |
} | |
if (gettype($firstArray) == 'array' && gettype($secondArray) != 'array') { | |
return quickSort($firstArray); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function CalculateProducts($array) | |
{ | |
//check if array is undefined | |
if (!$array) { | |
return []; | |
} | |
//check if array has length equal to zero | |
if (count($array) == 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function FindStartEnd($array, $val) | |
{ | |
$type = gettype($array); | |
try { | |
if (!$array) { | |
throw new Exception("Expects parameter 1 to be array and should contain at least one value"); | |
} | |
if (!is_numeric($val)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
please am final year studen.. been given the tille above as a project topic.. the application is expected to keep track of complete mobile log which includes SMS,images,call,browsing history. | |
i want to buuild this app using react. i was a able to get a package that keeps track of call history.. bit have not been able to see for of SMS,images,browsing histories..i need suggestions |
NewerOlder