3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Fruits { const TLV_TAG_LENGTH_CRC = "6304"; function test() { echo self::TLV_TAG_LENGTH_CRC; } } $obj = new Fruits(); $obj->test(); ?>

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)
8.3.60.0120.00318.55
8.3.50.0100.01016.43
8.3.40.0130.00320.42
8.3.30.0030.01318.67
8.3.20.0000.00724.18
8.3.10.0050.00224.66
8.3.00.0070.00026.16
8.2.180.0110.00725.92
8.2.170.0140.00718.78
8.2.160.0100.00322.96
8.2.150.0050.00225.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0060.00321.13
8.2.100.0090.00317.72
8.2.90.0000.00819.22
8.2.80.0040.00417.97
8.2.70.0100.00317.50
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0040.00419.73
8.2.30.0070.00018.04
8.2.20.0040.00419.23
8.2.10.0060.00317.55
8.2.00.0040.00417.54
8.1.280.0090.00625.92
8.1.270.0030.00624.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00021.26
8.1.230.0060.00617.77
8.1.220.0000.00917.74
8.1.210.0070.00318.77
8.1.200.0060.00317.35
8.1.190.0030.00517.23
8.1.180.0080.00018.10
8.1.170.0040.00418.69
8.1.160.0060.00318.72
8.1.150.0100.00018.55
8.1.140.0050.00217.46
8.1.130.0030.00617.42
8.1.120.0040.00417.43
8.1.110.0000.00817.35
8.1.100.0000.00717.48
8.1.90.0040.00417.50
8.1.80.0000.00717.36
8.1.70.0030.00617.35
8.1.60.0040.00417.53
8.1.50.0040.00417.55
8.1.40.0030.00517.54
8.1.30.0000.00717.62
8.1.20.0000.00817.64
8.1.10.0040.00417.48
8.1.00.0000.00817.57
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0000.00818.42
8.0.270.0030.00516.80
8.0.260.0000.00816.81
8.0.250.0000.00816.71
8.0.240.0000.00716.81
8.0.230.0030.00616.77
8.0.220.0000.00816.66
8.0.210.0060.00316.66
8.0.200.0030.00316.70
8.0.190.0030.00316.80
8.0.180.0040.00416.81
8.0.170.0030.00316.66
8.0.160.0050.00316.71
8.0.150.0080.00016.61
8.0.140.0000.00716.73
8.0.130.0040.00416.72
8.0.120.0000.00816.63
8.0.110.0060.00316.59
8.0.100.0030.00616.74
8.0.90.0040.00416.66
8.0.80.0040.00416.74
8.0.70.0040.00416.64
8.0.60.0080.00016.73
8.0.50.0000.00716.67
8.0.30.0000.00716.64
8.0.20.0000.00816.71
8.0.10.0030.00616.77

preferences:
31.5 ms | 400 KiB | 5 Q