online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
<?php /****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl, C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ function key_compare_func($key1, $key2) { if ($key1 == $key2) return 0; else if ($key1 > $key2) return 1; else return -1; } $array1 = [0,0,1,3,39,0,0,2,3,100,101,102,5,115,99,114,97,112,4,108,105,115,116,4,108]; $array2 = [115,116,4,108,105,115,116,2,105,100,2,105,100,12,63,0,11,0,0,0,3,3,6]; $crossline = array_diff_ukey($array1, $array2, 'key_compare_func'); foreach ($crossline as $key=>$value) unset($key); $result = array_merge($array1, $array2); print_r($result);

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue