SHARE
TWEET

Untitled

a guest Jul 17th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $filas=file('Avis.log');  
  2. $results = collect([]);
  3. $array = [];
  4. foreach($filas as $llave => $v ){
  5.         foreach (explode("<", $v) as $key => $value) {
  6.             if ($value == $v) {
  7.                 $result = null;
  8.             } elseif (strpos($value, ">") !== FALSE) {
  9.                 $results->push(substr($value, 0, strpos($value, ">")));
  10.                 $array[$llave][$key]=substr($value, 0, strpos($value, ">"));
  11.             } else {
  12.                 $result = null;
  13.             }
  14.         }
  15.     }
  16.     dd($array);
  17.     return view(GetDiseno('admin.uipath.index'))
  18.     ->with("results",$array);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top