compiler_vm: add PHP

This commit is contained in:
Pragmatic Software 2020-10-23 00:44:43 -07:00
parent d32a3dae0f
commit 083223b595
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#!/usr/bin/perl
use warnings;
use strict;
package php;
use parent '_default';
sub initialize {
my ($self, %conf) = @_;
$self->{sourcefile} = 'prog.php';
$self->{execfile} = 'prog.php';
$self->{default_options} = '';
$self->{cmdline} = 'php $options $sourcefile';
}
1;