# program: const 1; const 10; add; const 100; mul; const '(1+10)*100 equals '; concat; echo; const 'this is the return value then'; return; # execute: echo: (1+10)*100 equals execution result = "this is the return value then" #phpgenerator (vm to php) $R = array(); $R[0] = 1; $R[1] = 10; $R[2] = $R[1] + $R[0]; $R[3] = 100; $R[4] = $R[3] * $R[2]; $R[5] = '(1+10)*100 equals '; $R[6] = $R[5] . $R[4]; echo $R[6]; $R[7] = 'this is the return value then'; return $R[7]; eval: (1+10)*100 equals 1100