-<?php
+#!/usr/bin/env php
+<?php
/*
+----------------------------------------------------------------------+
| PHP Version 7 |
*/
function process_args($argv, $argc) {
$options = [
- 'unix' => true,
- 'windows' => true,
- 'ext' => '',
- 'dir' => __DIR__ . DIRECTORY_SEPARATOR,
- 'skel' => __DIR__ . DIRECTORY_SEPARATOR . 'skeleton' . DIRECTORY_SEPARATOR,
- 'author' => false,
- 'experimental' => false,
+ 'unix' => true,
+ 'windows' => true,
+ 'ext' => '',
+ 'dir' => __DIR__ . DIRECTORY_SEPARATOR,
+ 'skel' => __DIR__ . DIRECTORY_SEPARATOR . 'skeleton' . DIRECTORY_SEPARATOR,
+ 'author' => false,
+ 'experimental' => false,
'std' => false
];
global $options;
$files = [
- 'skeleton.c' => $options['ext'] . '.c',
+ 'skeleton.c' => $options['ext'] . '.c',
'php_skeleton.h' => 'php_' . $options['ext'] . '.h'
];
task('Copying tests', 'copy_tests');
print_success();
-
-?>
\ No newline at end of file