3v4l.org

run code in 300+ PHP versions simultaneously
<?php public static createSponsorConfigColumnDefs(): ( | ColDef | ColGroupDef | any )[] { return [ // { // headerName: '', // width: 25, // suppressColumnsToolPanel: true, // headerCheckboxSelection: true, // headerCheckboxSelectionFilteredOnly: true, // filter: 'number', // filterParams: { // newRowsAction: 'keep', // }, // checkboxSelection: true, // suppressMenu: true, // sortable: false, // pinned: true, // hide: tab, // }, { headerName: 'Sponsor ID', field: 'sponsorId', width: 320, menuTabs: ['filterMenuTab'], pinned: true, }, { headerName: 'Sponsor Name', field: 'sponsorName', width: 420, menuTabs: ['filterMenuTab'], pinned: true, }, { headerName: 'Plan Info', field: 'fundIdMapping', width: 300, menuTabs: ['filterMenuTab'], pinned: true, cellRenderer: function () { return '<button class="mlp-select-menu" color="primary">Click to View Plan Info</button>'; }, }, { headerName: 'Plan Sponsor Contribution Percent Limit', field: 'planSponsorContributionPercentLimit', cellStyle: () => { return this.rightAlignStyle; }, width: 100, menuTabs: ['filterMenuTab'], }, { headerName: 'Spousal Consent Required', field: 'spousalConsentRequired', width: 220, menuTabs: ['filterMenuTab'], }, { headerName: 'Plan Sponsor Expense Ratio', field: 'planSponsorExpenseRatio', cellStyle: () => { return this.rightAlignStyle; }, width: 220, menuTabs: ['filterMenuTab'], }, { headerName: 'Match Cents Per Dollar', field: 'matchCentsPerDollar', cellStyle: () => { return this.rightAlignStyle; }, width: 220, menuTabs: ['filterMenuTab'], }, { headerName: 'Match Max Percentage', field: 'matchMaxPercentage', cellStyle: () => { return this.rightAlignStyle; }, width: 220, menuTabs: ['filterMenuTab'], }, { headerName: 'Catch Up Waterfall', field: 'catchUpWaterfall', width: 320, menuTabs: ['filterMenuTab'], sort: 'desc', }, ]; }
Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.23, 8.3.0 - 8.3.11
Parse error: syntax error, unexpected token "public", expecting end of file in /in/Ai7BA on line 3
Process exited with code 255.

preferences:
173.96 ms | 1008 KiB | 7 Q