ASSIGN

PHP code

<?php
/*
 * assigns value1 to result
 * opcode number: 38
 */
$a=1;
$a='a';
$a=new A();
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$a

line#opfetchextreturnoperands
60ASSIGN   !0,1
71ASSIGN   !0,'a'
82ZEND_FETCH_CLASS  :2'A'
 3NEW  $3:2
 4DO_FCALL_BY_NAME 0  
 5ASSIGN   !0,$3
96RETURN   1