3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array( 'oembed_id' => 'Oembed', 'tpc_id' => 'Tpc', '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('LnkOembedTpc','".$value."'),"; echo "\n"; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
'oembed_id' => Yii::t('LnkOembedTpc','Oembed'), 'tpc_id' => Yii::t('LnkOembedTpc','Tpc'), 'modified_flag' => Yii::t('LnkOembedTpc','Modified Flag'), 'status_id' => Yii::t('LnkOembedTpc','Status'), 'create_time' => Yii::t('LnkOembedTpc','Create Time'), 'create_usr_id' => Yii::t('LnkOembedTpc','Create Usr'), 'update_time' => Yii::t('LnkOembedTpc','Update Time'), 'update_usr_id' => Yii::t('LnkOembedTpc','Update Usr'),