PuStudy.Com Start write and Run your Web Code Online Work, PuStudy.Com Provide Online Web Editor, Every Language Code Work in this Editor, Editor Work Like as - Html, Php, Css, Bootstrap, Asp, jQuery Etc.
<?php $array1 = array(0=> 'Language', 1=>'Math', 2=>'Science', 3=>'Geography'); $array2 = array(0=> 'Math', 1=>'Science', 2=>'History'); $diff_result = array_diff($array1, $array2); print_r($diff_result); ?>