3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (isset($this->request->get['description'])) { $manufacturers = $this->model_catalog_manufacturer->getManufacturersBySearchDesc($search); } else { $manufacturers = $this->model_catalog_manufacturer->getManufacturersBySearch($search); } $this->data['manufacturer_filters'] = array(); $this->data['manufacturer_filters'][] = array( 'text' => $this->language->get('text_filter'), 'value' => '0', 'href' => $this->url->link('product/search', $url . '&manufacturer_filter=0') );
Output for 7.3.24 - 7.3.33, 7.4.12 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.29, 8.2.0 - 8.2.20, 8.3.0 - 8.3.8
Fatal error: Uncaught Error: Using $this when not in object context in /in/jj66s:3 Stack trace: #0 {main} thrown in /in/jj66s on line 3
Process exited with code 255.

preferences:
123.54 ms | 403 KiB | 121 Q