3v4l.org

run code in 300+ PHP versions simultaneously
<?php array ( 'blue' => array ( 0 => 'Direct to the city from St Anns, Thorneywood, Carlton Valley and City Hospital', 1 => 'The only bus from the city onto City Hospital campus', 2 => 'From every 6 minutes (St Anns - City)', 3 => 'From every 15-20 minutes (Sundays and evenings)', 4 => 'Central city centre bus stop on Queen Street', 5 => 'Plenty of room for buggies and wheelchairs', ), 'brown' => array ( 0 => 'Direct to the City from Bulwell, Bestwood and Top Valley', 1 => 'From every 3-7 minutes (Mon-Sat daytime)', 2 => 'From every 15 minutes (Sundays and evenings)', 3 => 'Plenty of room for buggies and wheelchairs', 4 => 'Brown Line 15 extended back to Rise Park via Top Valley', ), 'go2night' => array ( 0 => 'N4: Queens Drive, Clifton Bridge, Clifton NTU Campus and Clifton (Man of Trent)', 1 => 'N6: Trent Bridge and West Bridgford', 2 => 'N27: Sneinton Dale, Carlton, Westdale Lane and Mapperley', 3 => 'N28: Jubilee Campus, Beechdale, Bilborough and Wollaton Vale', 4 => 'N34: Derby Road, QMC, University Park Campus and Beeston (term time only)', 5 => 'N36: Derby Road, QMC, University Park Campus, Beeston and Chilwell', 6 => 'N48: Meadows, Clifton and Ruddington', 7 => 'N58: Sherwood and Arnold', 8 => 'N68: Sherwood Rise, Basford and Bulwell', 9 => 'N77: Aspley Lane, Strelley and Cinderhill', 10 => 'N89: Hucknall Road, Bestwood Park, Rise Park and Top Valley', 11 => 'N100: Colwick, Burton Joyce, Lowdham, NTU Brackenhurst Campus and Southwell', 12 => 'N4 timetable', 13 => 'N34 timetable', 14 => 'All day tickets and valid Easyrider Citycards are valid on Go2 Night at no extra charge (within the City Bus Network Zone)', 15 => 'No other tickets or passes are valid (including concessionary cards)', ), 'green' => array ( 0 => 'Direct to the city from West Bridgford, via Central Avenue and Trent Bridge', 1 => 'From every 5 minutes (Mon-Sat daytime)', 2 => 'From every 10 minutes (Sundays and evenings)', 3 => 'Ideal for getting to Notts County, Nottingham Forest and the Cricket Ground', 4 => 'Plenty of room for buggies and wheelchairs', 5 => 'Late night buses on Friday and Saturday nights!', ), 'lilac' => array ( 0 => 'Direct to the city from Carlton and Westdale Lane', 1 => 'From every 5 minutes (Mon-Sat daytime)', 2 => 'From every 15 minutes (Sundays and evenings)', 3 => 'Regular, daily links through to Daybrook and Arnold for shopping', 4 => 'Plenty of room for buggies and wheelchairs', 5 => 'Late night buses on Friday and Saturday nights!', ), 'lime' => array ( 0 => 'Direct to the city from Arnold and Sherwood', 1 => 'From every 5 minutes (Mon-Sat daytime)', 2 => 'From every 20 minutes (Sundays and evenings)', 3 => 'Plenty of room for buggies and wheelchairs', 4 => 'Late night buses on Friday and Saturday nights!', ), 'maroon' => array ( 0 => 'Direct to the City from Chilwell, Beeston and Nottingham University', 1 => 'From every 30 minutes (Mon-Sat daytime)', 2 => 'Plenty of room for buggies and wheelchairs', ), 'navy' => array ( 0 => 'Direct to the City from Clifton via either Trent Bridge or Clifton Bridge', 1 => 'From every 7 minutes (Mon-Sat daytime)', 2 => 'From every 20 minutes (Sundays and evenings)', 3 => 'Unilink 4 from every 7 minutes onto NTU Clifton Campus, term times', 4 => 'Navy Line 1 to Gotham, East Leake and Loughborough', 5 => 'Plenty of room for buggies and wheelchairs', 6 => 'Late night buses to Clifton Lane and Clifton NTU Campus, 6 nights a week!', ), 'orange' => array ( 0 => 'Direct to the city from Chilwell, Beeston, University Park, QMC and Wollaton via Derby Road', 1 => 'From every 2-3 minutes (Mon-Fri daytime) QMC to the City Centre', 2 => 'From every 10 minutes (Sundays and evenings)', 3 => 'Service 37 every 15 minutes to the QMC forecourt', 4 => 'Go2 Uni 34 from every 5 minutes onto University Park (term-time) and from every 12 minutes during the holidays and at weekends!', 5 => 'Plenty of room for buggies and wheelchairs', 6 => 'Late night buses to Derby Road, University Park and Beeston, 6 nights a week! (term time only)', ), 'pathfinder' => array ( 0 => 'Direct to Nottingham from Southwell, Brackenhurst Campus, Lowdham, Burton Joyce and Carlton Square', 1 => 'From every 20 minutes (Mon-Sat daytime)', 2 => 'From every hour (Sundays and evenings)', 3 => 'Plenty of room for buggies and wheelchairs', 4 => 'Late night buses on Friday and Saturday nights!', ), 'pink' => array ( 0 => 'Direct to the city from Jubilee Campus, Wollaton and Bilborough', 1 => 'From every 8-10 minutes (Mon-Sat daytime)', 2 => 'From every 20 minutes (Sundays and evenings)', 3 => 'Plenty of room for buggies and wheelchairs', 4 => 'Late night buses on Friday and Saturday nights!', ), 'purple' => array ( 0 => 'Direct to the city from Sherwood, Arnold and Rise Park', 1 => 'From every 3-7 minutes (Mon-Sat daytime)', 2 => 'From every 20 minutes (Sundays and evenings)', 3 => 'Stops outside the City Hospital on Edwards Lane - buses from every 4-8 minutes', 4 => 'Plenty of room for buggies and wheelchairs', 5 => 'Late night buses on Friday and Saturday nights!', ), 'red' => array ( 0 => 'Direct to the city from Sneinton, Bakersfield, Netherfield and Gedling', 1 => 'From every 7 minutes (Mon-Sat daytime)', 2 => 'From every 15 minutes (Sundays and evenings)', 3 => 'Plenty of room for buggies and wheelchairs', ), 'skyblue' => array ( 0 => 'Direct to the city from Gedling, Mapperley and Woodborough Road', 1 => 'From every 7 minutes (Mon-Sat daytime)', 2 => 'From every 20 minutes (Sundays and evenings)', 3 => 'Plenty of room for buggies and wheelchairs', 4 => 'New services 46, 47 for Mapperley Plains, Woodborough, Lambley and Calverton', ), 'turquoise' => array ( 0 => 'Direct to the city from Strelley, Aspley and Bulwell', 1 => 'From every 6 minutes on Monday to Saturday daytimes on Turquoise Line 77', 2 => 'Every 7-8 minutes (Mon-Sat daytime) between Nuthall Road and the City Centre', 3 => 'Regular evening and Sunday buses', 4 => 'Now continuing through to Arnold every 15 minutes on Monday to Saturday daytimes on the 79, 79A', 5 => 'Plenty of room for buggies and wheelchairs', 6 => 'Late night buses on Friday and Saturday nights!', ), 'yellow' => array ( 0 => 'Direct to the city from Bulwell and Basford via Sherwood Rise', 1 => 'From every 7-8 minutes (Mon-Sat daytime)', 2 => 'From every 15 minutes (Sundays and evenings)', 3 => 'Plenty of room for buggies and wheelchairs', ), ); print_r($data);
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Warning: Undefined variable $data in /in/f9KDD on line 151
Output for 5.0.4 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 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.31, 7.4.0 - 7.4.25, 7.4.27 - 7.4.33
Notice: Undefined variable: data in /in/f9KDD on line 151
Output for 7.3.32 - 7.3.33, 7.4.26
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.3
Notice: Undefined variable: data in /in/f9KDD on line 151

preferences:
290.51 ms | 402 KiB | 456 Q