the code “ : ” in php

前端 未结 7 854
难免孤独
难免孤独 2020-12-22 13:40

I\'m curious to know what the syntax \" : \" mean in php I\'ve seen it a couple of times but I can\'t seem to explain it to myself. Can you also use it in a sentence....or i

7条回答
  •  滥情空心
    2020-12-22 14:10

    It can also refer to a goto

    MyGoto:
        if (DoSomething())
            goto MyGoto;
    

    Very few circumstances warrant a goto, but that's what it can mean if not a ternary operator.

提交回复
热议问题