<?php
$arr=['==','>','<'];
if(1 .$arr[0]. 2){ echo 123;die; } //如何实现?
$arr=['eq','gt','lt']; function eq($aa,$bb){ return($aa==$bb); } function gt($aa,$bb){ return($aa>$bb); } function lt($aa,$bb){ return($aa<$bb); } if($arr2){ echo 123;die; }