3v4l.org

run code in 300+ PHP versions simultaneously
<?php $queryArray = array( 'ebben' => array( //$changes 'ezt' => 'erre', //No escape 'ezt' => 'nes:erre', array( //$condition 'where' => array( 'ez' => 'ezzel' ) ) ) ); //'UPDATE _table_ SET _field_ = _value_ WHERE _field_ = _value_'; //foreach($queryArray as $table => $fields) { print ' SET ' . implode(',', array_fill(0, count(array_keys($queryArray)), '?')); //}

preferences:
48.64 ms | 402 KiB | 5 Q