3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['id'] = 'poepschoen'; $id = (int) $_GET['id']; var_dump($id);

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.4.10.0030.01417.51
8.3.140.0050.00317.35
8.3.130.0070.00318.55
8.3.120.0060.01320.87
8.3.110.0030.00720.94
8.3.100.0100.00024.06
8.3.90.0090.00926.77
8.3.80.0090.00017.97
8.3.70.0070.01416.48
8.3.60.0110.00418.15
8.3.50.0070.01318.14
8.3.40.0030.01718.76
8.3.30.0160.00018.58
8.3.20.0030.00520.60
8.3.10.0000.00821.71
8.3.00.0050.00319.50
8.2.260.0170.00016.62
8.2.250.0080.00016.64
8.2.240.0050.00518.76
8.2.230.0090.00022.58
8.2.220.0090.00037.54
8.2.210.0070.00726.77
8.2.200.0000.00918.29
8.2.190.0030.01216.63
8.2.180.0120.00418.42
8.2.170.0110.00322.96
8.2.160.0030.01021.23
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0050.00226.16
8.2.120.0000.00819.79
8.2.110.0140.00722.13
8.2.100.0090.00317.84
8.2.90.0070.00019.41
8.2.80.0030.00517.97
8.2.70.0040.00417.75
8.2.60.0030.00517.63
8.2.50.0000.00817.55
8.2.40.0030.00621.20
8.2.30.0050.00219.35
8.2.20.0070.00017.98
8.2.10.0080.00019.40
8.2.00.0000.00717.98
8.1.310.0030.00516.16
8.1.300.0040.00420.10
8.1.290.0110.00030.84
8.1.280.0140.00725.92
8.1.270.0030.00619.00
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0000.00823.77
8.1.230.0090.00319.16
8.1.220.0050.00317.74
8.1.210.0070.00018.95
8.1.200.0000.00817.23
8.1.190.0090.00017.35
8.1.180.0080.00022.17
8.1.170.0000.00818.58
8.1.160.0040.00418.88
8.1.150.0000.00818.90
8.1.140.0040.00418.87
8.1.130.0000.00717.30
8.1.120.0000.01017.51
8.1.110.0070.00017.44
8.1.100.0000.00717.44
8.1.90.0040.00417.43
8.1.80.0040.00417.43
8.1.70.0040.00417.47
8.1.60.0040.00417.59
8.1.50.0060.00317.55
8.1.40.0060.00317.51
8.1.30.0040.00417.52
8.1.20.0000.00917.62
8.1.10.0000.00817.38
8.1.00.0040.00417.41
8.0.300.0090.00019.90
8.0.290.0040.00417.18
8.0.280.0070.00018.43
8.0.270.0030.00317.24
8.0.260.0030.00316.80
8.0.250.0030.00316.84
8.0.240.0070.00016.97
8.0.230.0070.00016.85
8.0.220.0000.00716.81
8.0.210.0070.00016.91
8.0.200.0000.00716.95
8.0.190.0040.00416.83
8.0.180.0030.00316.95
8.0.170.0050.00316.79
8.0.160.0000.00716.96
8.0.150.0030.00316.91
8.0.140.0070.00016.74
8.0.130.0000.00513.34
8.0.120.0000.00816.80
8.0.110.0000.00816.87
8.0.100.0000.00816.84
8.0.90.0080.00016.86
8.0.80.0060.01116.89
8.0.70.0000.00716.77
8.0.60.0000.00716.93
8.0.50.0000.00716.77
8.0.30.0110.00717.04
8.0.20.0110.01117.02
8.0.10.0030.00517.11
8.0.00.0070.01216.68
7.4.330.0000.00515.55
7.4.320.0000.00616.49
7.4.300.0060.00016.57
7.4.290.0030.00316.59
7.4.280.0060.00316.55
7.4.270.0070.00016.50
7.4.260.0070.00016.56
7.4.250.0030.00316.35
7.4.240.0040.00416.44
7.4.230.0000.00716.33
7.4.220.0000.00816.63
7.4.210.0060.01216.55
7.4.200.0070.00016.53
7.4.160.0070.00816.43
7.4.140.0120.00917.86
7.4.130.0060.01316.39
7.4.120.0130.00816.65
7.4.110.0070.01316.41
7.4.100.0070.01616.46
7.4.90.0090.00916.38
7.4.80.0100.00719.39
7.4.70.0030.02016.67
7.4.60.0060.01016.48
7.4.50.0070.01116.46
7.4.40.0060.01016.61
7.4.00.0000.01514.91
7.3.330.0020.00313.01
7.3.320.0000.00513.07
7.3.310.0000.00616.39
7.3.300.0040.00416.23
7.3.290.0000.00716.23
7.3.280.0080.00816.21
7.3.260.0110.00916.43
7.3.240.0070.01016.37
7.3.230.0040.01316.26
7.3.210.0130.00516.46
7.3.200.0060.00916.21
7.3.190.0060.00916.50
7.3.180.0140.00716.49
7.3.170.0000.01616.37
7.3.160.0100.00716.36
7.3.10.3970.00714.02
7.3.00.4200.00314.58
7.2.330.0070.01016.64
7.2.320.0060.01216.28
7.2.310.0060.00916.54
7.2.300.0130.00316.49
7.2.290.0100.00916.78
7.2.130.4400.00714.81
7.2.120.6450.01314.93
7.2.110.5500.01014.49
7.2.100.2270.01014.79
7.2.90.6090.01014.51
7.2.80.0580.00714.82
7.2.70.3610.00314.69
7.2.60.0670.00714.89
7.2.50.1340.00314.83
7.2.40.6950.01014.82
7.2.30.7000.01614.72
7.2.20.5740.01614.45
7.2.10.1390.01014.21
7.2.00.4710.00014.68
7.1.250.5520.01313.68

preferences:
45.77 ms | 403 KiB | 5 Q