3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(null); // null var_dump(NULL); // null define("NULL","hello world"); var_dump(null); // null var_dump(NULL); // hello world define("null","hello world"); //Notice: Constant null already defined

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.20.0120.00917.67
8.4.10.0100.01017.77
8.3.150.0090.00917.11
8.3.140.0050.00316.45
8.3.130.0110.01118.54
8.3.120.0090.00018.71
8.3.110.0100.00020.94
8.3.100.0000.00824.06
8.3.90.0070.00426.77
8.3.80.0040.00818.31
8.3.70.0000.01618.55
8.3.60.0120.00818.68
8.3.50.0160.00321.94
8.3.40.0060.01218.89
8.3.30.0140.00018.92
8.3.20.0070.00720.04
8.3.10.0080.00023.66
8.3.00.0080.00020.66
8.2.270.0090.00616.43
8.2.260.0040.00418.87
8.2.250.0090.00916.59
8.2.240.0040.00418.48
8.2.230.0110.00422.58
8.2.220.0040.00437.54
8.2.210.0080.00026.77
8.2.200.0080.00418.16
8.2.190.0110.00316.58
8.2.180.0100.00716.63
8.2.170.0040.01122.96
8.2.160.0070.00722.05
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0060.00321.11
8.2.110.0040.00422.19
8.2.100.0070.00417.66
8.2.90.0060.00318.22
8.2.80.0080.00017.97
8.2.70.0000.00817.80
8.2.60.0050.00317.80
8.2.50.0000.00818.10
8.2.40.0040.00417.97
8.2.30.0000.00717.96
8.2.20.0070.00017.47
8.2.10.0050.00317.49
8.2.00.0070.00017.55
8.1.310.0140.00316.52
8.1.300.0100.01018.39
8.1.290.0080.00318.88
8.1.280.0110.00425.92
8.1.270.0030.00623.96
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0030.00623.96
8.1.230.0090.00320.91
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0070.00317.11
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0080.00418.59
8.1.160.0040.00421.82
8.1.150.0000.00818.55
8.1.140.0050.00317.19
8.1.130.0070.00017.31
8.1.120.0030.00317.33
8.1.110.0080.00017.22
8.1.100.0060.00317.36
8.1.90.0030.00517.38
8.1.80.0000.00717.36
8.1.70.0000.00717.28
8.1.60.0060.00317.50
8.1.50.0040.00417.35
8.1.40.0040.00417.28
8.1.30.0040.00417.44
8.1.20.0070.00017.51
8.1.10.0070.00017.37
8.1.00.0040.00417.33
8.0.300.0070.00019.78
8.0.290.0040.00416.63
8.0.280.0000.00718.31
8.0.270.0030.00317.17
8.0.260.0060.00016.75
8.0.250.0000.00816.87
8.0.240.0000.00816.82
8.0.230.0030.00316.75
8.0.220.0030.00316.72
8.0.210.0030.00316.70
8.0.200.0030.00316.83
8.0.190.0000.00816.88
8.0.180.0080.00016.88
8.0.170.0000.00916.85
8.0.160.0030.00616.71
8.0.150.0000.00716.80
8.0.140.0000.00716.80
8.0.130.0030.00313.21
8.0.120.0040.00416.74
8.0.110.0000.00816.71
8.0.100.0000.00816.67
8.0.90.0000.00716.82
8.0.80.0030.01216.78
8.0.70.0000.00716.93
8.0.60.0040.00416.62
8.0.50.0070.00016.85
8.0.30.0110.00816.88
8.0.20.0080.01117.40
8.0.10.0000.00716.80
8.0.00.0080.01016.51
7.4.330.0000.00515.00
7.4.320.0060.00016.48
7.4.300.0030.00316.34
7.4.290.0070.00016.36
7.4.280.0040.00616.45
7.4.270.0000.00716.43
7.4.260.0070.00016.30
7.4.250.0090.00016.23
7.4.240.0050.00316.45
7.4.230.0030.00316.30
7.4.220.0120.01516.40
7.4.210.0070.01116.38
7.4.200.0000.00716.26
7.4.190.0040.00416.36
7.4.160.0090.00916.42
7.4.150.0060.01217.40
7.4.140.0110.00617.86
7.4.130.0100.00816.32
7.4.120.0090.00916.34
7.4.110.0060.01216.45
7.4.100.0030.01416.33
7.4.90.0110.00716.52
7.4.80.0100.00616.38
7.4.70.0100.00716.24
7.4.60.0100.00616.20
7.4.50.0050.00316.06
7.4.40.0090.00622.77
7.4.30.0140.00316.38
7.4.00.0090.00614.90
7.3.330.0080.00013.01
7.3.320.0000.00513.05
7.3.310.0000.00716.16
7.3.300.0000.00716.15
7.3.290.0030.00316.21
7.3.280.0070.00916.25
7.3.270.0070.01017.40
7.3.260.0120.00616.28
7.3.250.0130.00516.32
7.3.240.0040.01316.38
7.3.230.0060.01116.39
7.3.210.0090.00916.27
7.3.200.0070.01019.39
7.3.190.0090.01216.18
7.3.180.0060.00916.05
7.3.170.0120.00316.27
7.3.160.0180.00016.29
7.3.120.0100.00714.66
7.3.10.0090.00616.36
7.3.00.0070.00716.52
7.2.330.0130.00716.54
7.2.320.0090.00916.36
7.2.310.0080.00916.29
7.2.300.0120.00616.18
7.2.290.0100.00616.29
7.2.130.0060.00616.69
7.2.120.0040.00716.72
7.2.110.0040.00816.68
7.2.100.0130.00316.88
7.2.90.0110.00016.45
7.2.80.0040.01116.54
7.2.70.0030.01016.70
7.2.60.0180.00916.75
7.2.50.0100.00316.75
7.2.40.0060.00916.54
7.2.30.0030.01316.65
7.2.20.0060.00916.77
7.2.10.0100.00316.65
7.2.00.0050.00917.96
7.1.250.0120.00015.82
7.1.200.0120.00315.48
7.1.100.0000.01018.03
7.1.70.0090.00318.74
7.1.60.0100.00318.74
7.1.50.0040.01118.74
7.1.40.0040.00718.74
7.1.30.0000.01018.74
7.1.20.0070.00718.74
7.1.10.0060.00618.74
7.1.00.0000.01118.74
7.0.200.0030.00318.74
7.0.190.0070.00718.74
7.0.180.0000.00818.74
7.0.170.0000.00818.74
7.0.160.0030.00718.74
7.0.150.0050.00218.74
7.0.140.0040.00718.74
7.0.130.0000.01118.74
7.0.120.0000.00818.74
7.0.110.0050.00318.74
7.0.100.0060.00318.74
7.0.90.0040.01118.74
7.0.80.0030.00718.74
7.0.70.0000.00818.74
7.0.60.0040.00718.74
7.0.50.0100.00018.74
7.0.40.0050.00218.74
7.0.30.0080.00018.74
7.0.20.0030.00318.74
7.0.10.0040.00418.74
7.0.00.0030.00718.74
5.6.300.0100.03820.74
5.6.290.0000.05020.74
5.6.280.0130.06221.01
5.6.270.0060.03820.94
5.6.260.0000.04521.03
5.6.250.0070.03620.74
5.6.240.0070.03920.76
5.6.230.0030.04220.83
5.6.220.0070.04421.01
5.6.210.0030.04920.56
5.6.200.0060.04220.85
5.6.190.0100.06620.73
5.6.180.0000.04320.88
5.6.170.0070.03621.00
5.6.160.0060.03920.97
5.6.150.0000.04820.72
5.6.140.0000.04320.97
5.6.130.0060.04220.97
5.6.120.0060.03920.97
5.6.110.0100.03920.94
5.6.100.0030.04220.91
5.6.90.0070.03620.91
5.6.80.0030.03820.18
5.6.70.0000.07420.21
5.6.60.0070.04220.32
5.6.50.0070.04020.18
5.6.40.0000.04020.26
5.6.30.0100.03520.29
5.6.20.0040.04620.00
5.6.10.0070.03420.36
5.6.00.0030.04020.09
5.5.380.0000.06118.74
5.5.370.0170.04818.74
5.5.360.0030.04318.74
5.5.350.0100.03618.74
5.5.340.0070.04018.74
5.5.330.0000.04718.74
5.5.320.0100.03218.74
5.5.310.0060.03918.74
5.5.300.0000.04118.74
5.5.290.0000.04318.74
5.5.280.0030.04418.74
5.5.270.0030.04318.74
5.5.260.0030.04218.74
5.5.250.0030.04318.74
5.5.240.0000.05118.74
5.5.230.0070.04118.74
5.5.220.0070.03418.74
5.5.210.0030.03918.74
5.5.200.0030.04118.74
5.5.190.0240.04218.74
5.5.180.0000.04418.74
5.5.160.0030.03718.74
5.5.150.0060.05118.74
5.5.140.0030.03818.74
5.5.130.0030.03818.74
5.5.120.0100.04018.74
5.5.110.0100.03418.74
5.5.100.0100.03618.74
5.5.90.0000.04318.74
5.5.80.0030.04018.74
5.5.70.0030.03618.74
5.5.60.0030.04618.74
5.5.50.0060.03918.74
5.5.40.0030.03918.74
5.5.30.0000.03918.74
5.5.20.0070.04218.74
5.5.10.0030.04618.74
5.5.00.0030.07018.74
5.4.450.0030.04319.24
5.4.440.0060.03619.27
5.4.430.0070.03919.13
5.4.420.0070.03519.34
5.4.410.0040.03919.36
5.4.400.0100.06419.07
5.4.390.0000.05619.09
5.4.380.0030.04219.07
5.4.370.0100.03519.07
5.4.360.0030.04318.83
5.4.350.0030.05319.14
5.4.340.0000.04419.09
5.4.320.0000.04318.86
5.4.310.0000.04519.04
5.4.300.0030.03919.00
5.4.290.0000.04319.00
5.4.280.0030.04919.05
5.4.270.0030.03719.04
5.4.260.0100.03318.82
5.4.250.0100.03918.99
5.4.240.0030.03618.97
5.4.230.0030.03618.97
5.4.220.0070.03418.87
5.4.210.0240.04118.97
5.4.200.0000.04618.97
5.4.190.0000.04519.05
5.4.180.0030.05219.09
5.4.170.0100.04618.84
5.4.160.0030.06118.89
5.4.150.0000.04119.15
5.4.140.0030.03418.74
5.4.130.0070.03318.74
5.4.120.0140.03418.74
5.4.110.0000.05118.74
5.4.100.0000.03818.74
5.4.90.0030.05618.74
5.4.80.0000.04018.74
5.4.70.0030.05618.74
5.4.60.0030.04718.74
5.4.50.0060.04918.74
5.4.40.0000.03918.74
5.4.30.0030.05318.74
5.4.20.0030.03918.74
5.4.10.0030.03618.74
5.4.00.0000.03918.74
5.3.290.0030.08418.74
5.3.280.0060.03518.74
5.3.270.0040.03518.74
5.3.260.0000.03918.74
5.3.250.0000.04218.74
5.3.240.0030.04518.74
5.3.230.0000.04118.74
5.3.220.0030.03918.74
5.3.210.0000.04618.74
5.3.200.0030.03618.74
5.3.190.0070.03418.74
5.3.180.0030.03418.74
5.3.170.0030.04518.74
5.3.160.0000.04218.74
5.3.150.0030.04518.74
5.3.140.0000.03918.74
5.3.130.0070.05018.74
5.3.120.0100.05118.74
5.3.110.0070.07318.74
5.3.100.0060.03618.74
5.3.90.0030.03418.74
5.3.80.0070.05518.74
5.3.70.0030.04218.74
5.3.60.0000.05818.74
5.3.50.0030.05918.74
5.3.40.0000.04118.74
5.3.30.0000.03918.74
5.3.20.0030.03618.74
5.3.10.0100.03018.74
5.3.00.0100.03618.74
5.2.170.0030.05318.74
5.2.160.0000.03118.74
5.2.150.0000.03418.74
5.2.140.0070.02718.74
5.2.130.0030.03418.74
5.2.120.0030.03518.74
5.2.110.0030.03318.74
5.2.100.0100.03018.74
5.2.90.0060.03418.74
5.2.80.0230.02618.74
5.2.70.0030.03418.74
5.2.60.0100.05118.74
5.2.50.0000.03318.74
5.2.40.0030.02918.74
5.2.30.0030.03118.74
5.2.20.0000.03618.74
5.2.10.0000.03318.74
5.2.00.0070.03218.74
5.1.60.0030.02418.74
5.1.50.0030.02718.74
5.1.40.0030.02418.74
5.1.30.0030.02718.74
5.1.20.0040.03218.74
5.1.10.0030.02418.74
5.1.00.0030.02918.74
5.0.50.0000.02418.74
5.0.40.0040.01818.74
5.0.30.0000.03518.74
5.0.20.0030.02018.74
5.0.10.0070.02318.74
5.0.00.0000.03818.74
4.4.90.0000.01718.74
4.4.80.0030.02118.74
4.4.70.0000.01818.74
4.4.60.0030.01618.74
4.4.50.0030.01618.74
4.4.40.0000.02618.74
4.4.30.0030.01418.74
4.4.20.0000.01818.74
4.4.10.0000.01918.74
4.4.00.0000.02618.74
4.3.110.0030.01918.74
4.3.100.0000.01718.74
4.3.90.0000.01718.74
4.3.80.0130.03118.74
4.3.70.0160.01618.74
4.3.60.0030.01518.74
4.3.50.0030.01418.74
4.3.40.0200.03018.74
4.3.30.0060.01218.74
4.3.20.0030.01518.74
4.3.10.0000.01818.74
4.3.00.0150.00918.74

preferences:
31.77 ms | 403 KiB | 5 Q