#!/usr/bin/env php parse($data)), true)); exit(); } $scss = new Compiler(); if ($debugInfo && $inputFile) { $scss->setLineNumberStyle(Compiler::DEBUG_INFO); } if ($lineNumbers && $inputFile) { $scss->setLineNumberStyle(Compiler::LINE_COMMENTS); } if ($ignoreErrors) { $scss->setIgnoreErrors($ignoreErrors); } if ($loadPaths) { $scss->setImportPaths(explode(PATH_SEPARATOR, $loadPaths)); } if ($precision) { $scss->setNumberPrecision($precision); } if ($style) { $scss->setFormatter('Leafo\\ScssPhp\\Formatter\\' . ucfirst($style)); } if ($encoding) { $scss->setEncoding($encoding); } echo $scss->compile($data, $inputFile); if ($changeDir) { chdir($oldWorkingDir); }