3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = array( 0 => array ( 'uid' => '1799', 'crdate' => '0000-00-00 00:00:00', 'moddate' => '2015-11-18 16:41:48' , 'deldate' => '0000-00-00 00:00:00', 'hidden' => '0', 'deleted' => '0', 'id_listing' => '35', 'id_vehicle' => '7043' , 'brand' => 'Citroën', 'model' => 'C4 Cactus', 'finition' => 'PURETECH 110 FEEL EDITION S&S+GPS' , 'exterior_color' => 'ROUGE ADEN' , 'energy' => '3' , 'registration_date' => '2015-07-06 00:00:00', 'mileage' => '6248' , 'equipments' => 'Airbump® BLACK, Jantes alliage 17? CROSS bi-ton, Pack AUTO, Pack NAVIGATION, Barres de toit, ESP, Kit mains libres Bluetooth et prise USB, Phares antibrouillard directionnels, Radio CD MP3, Régulateur de vitesse' , 'merchant_price' => '15490.00' , 'merchant_price_reduced' => '0.00' , 'fees_without_tax' => '150' , 'shipment_type' => 'custom' , 'shipment_price' => '0.00', 'pos' => '6' , 'custom_name' => '' , 'custom_color' => '', 'arrival' => '1', 'new' => false ), 1 => array ( 'uid' => '1800' , 'crdate' => '0000-00-00 00:00:00' , 'moddate' => '2015-11-18 16:41:48', 'deldate' => '0000-00-00 00:00:00' , 'hidden' => '0' , 'deleted' => '0', 'id_listing' => '35' , 'id_vehicle' => '7044' , 'brand' => 'Citroën' , 'model' => 'C4 Cactus' , 'finition' => 'PURETECH 110 FEEL EDITION S&S+GPS', 'exterior_color' => 'BLANC NACRE', 'energy' => '3' , 'registration_date' => '2015-07-06 00:00:00', 'mileage' => '6184', 'equipments' => 'Airbump® BLACK, Jantes alliage 17? CROSS bi-ton, Pack AUTO, Pack NAVIGATION, Barres de toit, ESP, Kit mains libres Bluetooth et prise USB, Phares antibrouillard directionnels, Radio CD MP3, Régulateur de vitesse' , 'merchant_price' => '15690.00' , 'merchant_price_reduced' => '0.00' , 'fees_without_tax' => '150' , 'shipment_type' => 'custom' , 'shipment_price' => '0.00' , 'pos' => '7', 'custom_name' => '' , 'custom_color' => '' , 'arrival' => '1' , 'new' => false ) ); var_dump($t);
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
array(2) { [0]=> array(26) { ["uid"]=> string(4) "1799" ["crdate"]=> string(19) "0000-00-00 00:00:00" ["moddate"]=> string(19) "2015-11-18 16:41:48" ["deldate"]=> string(19) "0000-00-00 00:00:00" ["hidden"]=> string(1) "0" ["deleted"]=> string(1) "0" ["id_listing"]=> string(2) "35" ["id_vehicle"]=> string(4) "7043" ["brand"]=> string(8) "Citroën" ["model"]=> string(9) "C4 Cactus" ["finition"]=> string(33) "PURETECH 110 FEEL EDITION S&S+GPS" ["exterior_color"]=> string(10) "ROUGE ADEN" ["energy"]=> string(1) "3" ["registration_date"]=> string(19) "2015-07-06 00:00:00" ["mileage"]=> string(4) "6248" ["equipments"]=> string(213) "Airbump® BLACK, Jantes alliage 17? CROSS bi-ton, Pack AUTO, Pack NAVIGATION, Barres de toit, ESP, Kit mains libres Bluetooth et prise USB, Phares antibrouillard directionnels, Radio CD MP3, Régulateur de vitesse" ["merchant_price"]=> string(8) "15490.00" ["merchant_price_reduced"]=> string(4) "0.00" ["fees_without_tax"]=> string(3) "150" ["shipment_type"]=> string(6) "custom" ["shipment_price"]=> string(4) "0.00" ["pos"]=> string(1) "6" ["custom_name"]=> string(0) "" ["custom_color"]=> string(0) "" ["arrival"]=> string(1) "1" ["new"]=> bool(false) } [1]=> array(26) { ["uid"]=> string(4) "1800" ["crdate"]=> string(19) "0000-00-00 00:00:00" ["moddate"]=> string(19) "2015-11-18 16:41:48" ["deldate"]=> string(19) "0000-00-00 00:00:00" ["hidden"]=> string(1) "0" ["deleted"]=> string(1) "0" ["id_listing"]=> string(2) "35" ["id_vehicle"]=> string(4) "7044" ["brand"]=> string(8) "Citroën" ["model"]=> string(9) "C4 Cactus" ["finition"]=> string(33) "PURETECH 110 FEEL EDITION S&S+GPS" ["exterior_color"]=> string(11) "BLANC NACRE" ["energy"]=> string(1) "3" ["registration_date"]=> string(19) "2015-07-06 00:00:00" ["mileage"]=> string(4) "6184" ["equipments"]=> string(213) "Airbump® BLACK, Jantes alliage 17? CROSS bi-ton, Pack AUTO, Pack NAVIGATION, Barres de toit, ESP, Kit mains libres Bluetooth et prise USB, Phares antibrouillard directionnels, Radio CD MP3, Régulateur de vitesse" ["merchant_price"]=> string(8) "15690.00" ["merchant_price_reduced"]=> string(4) "0.00" ["fees_without_tax"]=> string(3) "150" ["shipment_type"]=> string(6) "custom" ["shipment_price"]=> string(4) "0.00" ["pos"]=> string(1) "7" ["custom_name"]=> string(0) "" ["custom_color"]=> string(0) "" ["arrival"]=> string(1) "1" ["new"]=> bool(false) } }
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 array(2) { [0]=> array(26) { ["uid"]=> string(4) "1799" ["crdate"]=> string(19) "0000-00-00 00:00:00" ["moddate"]=> string(19) "2015-11-18 16:41:48" ["deldate"]=> string(19) "0000-00-00 00:00:00" ["hidden"]=> string(1) "0" ["deleted"]=> string(1) "0" ["id_listing"]=> string(2) "35" ["id_vehicle"]=> string(4) "7043" ["brand"]=> string(8) "Citroën" ["model"]=> string(9) "C4 Cactus" ["finition"]=> string(33) "PURETECH 110 FEEL EDITION S&S+GPS" ["exterior_color"]=> string(10) "ROUGE ADEN" ["energy"]=> string(1) "3" ["registration_date"]=> string(19) "2015-07-06 00:00:00" ["mileage"]=> string(4) "6248" ["equipments"]=> string(213) "Airbump® BLACK, Jantes alliage 17? CROSS bi-ton, Pack AUTO, Pack NAVIGATION, Barres de toit, ESP, Kit mains libres Bluetooth et prise USB, Phares antibrouillard directionnels, Radio CD MP3, Régulateur de vitesse" ["merchant_price"]=> string(8) "15490.00" ["merchant_price_reduced"]=> string(4) "0.00" ["fees_without_tax"]=> string(3) "150" ["shipment_type"]=> string(6) "custom" ["shipment_price"]=> string(4) "0.00" ["pos"]=> string(1) "6" ["custom_name"]=> string(0) "" ["custom_color"]=> string(0) "" ["arrival"]=> string(1) "1" ["new"]=> bool(false) } [1]=> array(26) { ["uid"]=> string(4) "1800" ["crdate"]=> string(19) "0000-00-00 00:00:00" ["moddate"]=> string(19) "2015-11-18 16:41:48" ["deldate"]=> string(19) "0000-00-00 00:00:00" ["hidden"]=> string(1) "0" ["deleted"]=> string(1) "0" ["id_listing"]=> string(2) "35" ["id_vehicle"]=> string(4) "7044" ["brand"]=> string(8) "Citroën" ["model"]=> string(9) "C4 Cactus" ["finition"]=> string(33) "PURETECH 110 FEEL EDITION S&S+GPS" ["exterior_color"]=> string(11) "BLANC NACRE" ["energy"]=> string(1) "3" ["registration_date"]=> string(19) "2015-07-06 00:00:00" ["mileage"]=> string(4) "6184" ["equipments"]=> string(213) "Airbump® BLACK, Jantes alliage 17? CROSS bi-ton, Pack AUTO, Pack NAVIGATION, Barres de toit, ESP, Kit mains libres Bluetooth et prise USB, Phares antibrouillard directionnels, Radio CD MP3, Régulateur de vitesse" ["merchant_price"]=> string(8) "15690.00" ["merchant_price_reduced"]=> string(4) "0.00" ["fees_without_tax"]=> string(3) "150" ["shipment_type"]=> string(6) "custom" ["shipment_price"]=> string(4) "0.00" ["pos"]=> string(1) "7" ["custom_name"]=> string(0) "" ["custom_color"]=> string(0) "" ["arrival"]=> string(1) "1" ["new"]=> bool(false) } }

preferences:
269.25 ms | 409 KiB | 330 Q