Current Path : /var/test/www/html/seeds/wp-content/plugins/duplicator/lib/snaplib/ |
Current File : /var/test/www/html/seeds/wp-content/plugins/duplicator/lib/snaplib/class.snaplib.u.stream.php |
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ if(!class_exists('SnapLibStreamU')) { class SnapLibStreamU { public static function streamGetLine($handle, $length, $ending) { $line = stream_get_line($handle, $length, $ending); if ($line === false) { throw new Exception('Error reading line.'); } return $line; } } }