3v4l.org

run code in 300+ PHP versions simultaneously
<?php //html <form id="download_form" method="post" action="<?= admin_url('admin-ajax.php') ?>" class="selected-action"> <input type="hidden" name="<?= THEME_NONCE_NAME ?>" value="<?= wp_create_nonce(THEME_NONCE_ACTION) ?>"> <input type="hidden" name="action" value="resume_download" /> <input type="hidden" name="company_id" value="<?php echo $company_id ?>" /> <input type="hidden" id="resumes_arr" name="resumes" value="" /> <button class="downloads"><?php _e('Download my selection of CV', 'hec'); ?></button> </form> //js $(".downloads").click(function () { var resumes = [], table = $('table > tbody > tr'); table.each(function () { var resume_id = $(this).attr('data-id'); if ($(this).hasClass('selected')) { resumes.push(resume_id); } }); var string_resumes = resumes.toString(); $('#resumes_arr').val(string_resumes); $('#download_form').submit(); });
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected '<', expecting end of file in /in/NkHXf on line 4
Process exited with code 255.

preferences:
174.34 ms | 1395 KiB | 36 Q