3v4l.org

run code in 300+ PHP versions simultaneously
<?php try {  echo '先行処理\n';  $error = '例外メッセージ!!';  throw new Exception($error);  // 例外に続く処理は実行されない  echo "後続処理"; } catch (Exception $e) {  echo "例外キャッチ:", $e->getMessage(), "\n"; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.250.0100.05018.88
5.4.240.0070.05318.84
5.4.230.0070.05018.64
5.4.220.0070.05318.88
5.4.210.0070.05319.01
5.4.200.0070.05318.89
5.4.190.0100.05018.86
5.4.180.0100.05018.58
5.4.170.0130.04318.94
5.4.160.0070.05018.83
5.4.150.0130.04718.87
5.4.140.0070.04716.39
5.4.130.0030.05016.33
5.4.120.0130.04716.53
5.4.110.0030.06016.43
5.4.100.0070.07016.35
5.4.90.0200.03716.44
5.4.80.0030.05016.52
5.4.70.0100.04716.41
5.4.60.0130.05316.38
5.4.50.0170.05316.30
5.4.40.0130.06716.56
5.4.30.0130.06016.54
5.4.20.0030.05016.32
5.4.10.0100.07016.27
5.4.00.0070.04715.73
5.3.280.0100.05314.60
5.3.270.0070.06714.61
5.3.260.0070.08014.49
5.3.250.0130.06314.53
5.3.240.0100.04714.45
5.3.230.0100.06314.48
5.3.220.0000.05714.41
5.3.210.0000.06014.46
5.3.200.0130.04714.59
5.3.190.0070.06014.62
5.3.180.0030.05014.34
5.3.170.0070.04714.58
5.3.160.0070.05314.35
5.3.150.0200.06714.57
5.3.140.0100.07014.43
5.3.130.0100.06314.57
5.3.120.0130.05014.25
5.3.110.0100.04714.40
5.3.100.0070.05013.81
5.3.90.0000.06714.17
5.3.80.0070.05013.91
5.3.70.0100.04714.04
5.3.60.0070.05013.77
5.3.50.0130.07013.65
5.3.40.0130.04313.82
5.3.30.0100.04713.61
5.3.20.0100.07013.78
5.3.10.0100.04313.80
5.3.00.0030.05313.66

preferences:
141.28 ms | 1394 KiB | 7 Q