PHP Ace_gapfill example

Re: PHP Ace_gapfill example

by Richard Lobb -
Number of replies: 0
I'm not sure what examples you've looked at, but the python3_gapfiller_demo example in the Ace Gapfiller UI section on this site would be the best starting point. You should be able to switch it to run PHP instead by making just a couple of changes:
  1. In the run_one_test function, change the file you write to prog.php instead of prog.py and in the subsequence subprocess.run call, change the command to ["php", "prog.php"]
  2. In the Advanced customisation section change the Ace language to php.

Post back if that doesn't work.