3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array( 'id' => 'ID', 'grp_id' => 'Grp', 'grp_prt_id' => 'Grp Prt', 'verified' => 'Verified', 'modified_flag' => 'Modified Flag', 'status_id' => 'Status', 'create_time' => 'Create Time', 'create_usr_id' => 'Create Usr', 'update_time' => 'Update Time', 'update_usr_id' => 'Update Usr', ); foreach ($test as $key => $value) { echo "'".$key."' => Yii::t('GrpRel','".$value."'),"; echo "\n"; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
'id' => Yii::t('GrpRel','ID'), 'grp_id' => Yii::t('GrpRel','Grp'), 'grp_prt_id' => Yii::t('GrpRel','Grp Prt'), 'verified' => Yii::t('GrpRel','Verified'), 'modified_flag' => Yii::t('GrpRel','Modified Flag'), 'status_id' => Yii::t('GrpRel','Status'), 'create_time' => Yii::t('GrpRel','Create Time'), 'create_usr_id' => Yii::t('GrpRel','Create Usr'), 'update_time' => Yii::t('GrpRel','Update Time'), 'update_usr_id' => Yii::t('GrpRel','Update Usr'),