Help for this page

Select Code to Download


  1. or download this
        $return = array(
            'status' => '0',
            'error' => $error
        );
        echo json_encode($return);
    
  2. or download this
    print qq|{
       "status": '0',
       "error": 'foo'
    }|;
    
  3. or download this
    print qq|<response>
      <status>0</status>
      <error>foo</error>
    </response>|;