$argv[1] ]; // If 2nd argument -> diplome id to update only $upd = new Updater(isset($argv[2]) ? $argv[2] : null); $upd->update();