3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mapper = array('idPDV' => 0, 'nroCliente' => 0, 'nombre' => 1, 'direccion' => 2, 'ciudad' => 3, 'provincia' => 4, 'telefono1' => 5, 'telefono2' => 6, 'email' => 7, 'website' => 8, 'horario' => 9, 'horario_sab' => 10, 'horario_dom' => 11, 'efectivo' => 12, 'amex' => 13, 'visa' => 14, 'mastercard' => 15, 'other_cards' => 16, 'other_cards1' => 17, 'other_cards2' => 18, 'services_alignment' => 19, 'services_ac' => 20, 'services_frenos' => 21, 'services_aceite' => 22, 'services_filtros' => 23, 'services_lubricacion' => 24, 'services_balanceo' => 25, 'services_bateria' => 26, 'services_choques' => 27, 'services_trendelantero' => 28, 'services_trentracero' => 29, 'services_amortiguadores' => 30, 'services_llantas' => 31, 'services_runflat' => 32, 'services_suspencion' => 33, 'services_embrague' => 34, 'services_auxilio' => 35, 'services_motos' => 36, 'services_repuestos' => 37, 'services_inyeccion' => 38, 'services_gnc' => 39, 'services_alarmas' => 40 ); $i = 0; foreach ($mapper as $name => $id) { echo "'".$name . "' => $i, \n"; $i++; }
Output for git.master, git.master_jit, rfc.property-hooks
'idPDV' => 0, 'nroCliente' => 1, 'nombre' => 2, 'direccion' => 3, 'ciudad' => 4, 'provincia' => 5, 'telefono1' => 6, 'telefono2' => 7, 'email' => 8, 'website' => 9, 'horario' => 10, 'horario_sab' => 11, 'horario_dom' => 12, 'efectivo' => 13, 'amex' => 14, 'visa' => 15, 'mastercard' => 16, 'other_cards' => 17, 'other_cards1' => 18, 'other_cards2' => 19, 'services_alignment' => 20, 'services_ac' => 21, 'services_frenos' => 22, 'services_aceite' => 23, 'services_filtros' => 24, 'services_lubricacion' => 25, 'services_balanceo' => 26, 'services_bateria' => 27, 'services_choques' => 28, 'services_trendelantero' => 29, 'services_trentracero' => 30, 'services_amortiguadores' => 31, 'services_llantas' => 32, 'services_runflat' => 33, 'services_suspencion' => 34, 'services_embrague' => 35, 'services_auxilio' => 36, 'services_motos' => 37, 'services_repuestos' => 38, 'services_inyeccion' => 39, 'services_gnc' => 40, 'services_alarmas' => 41,

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
38.94 ms | 403 KiB | 8 Q