Advertisement
Guest User

Untitled

a guest
Apr 15th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. try {
  2. $first_url_file = new SimpleXMLElement(file_get_contents($first_url));
  3. $second_url_file = new SimpleXMLElement(file_get_contents($second_url));
  4. } catch(Exception $e) {
  5. throw new Exception('Could not parse file');
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement