3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = '0'; if(trim($var) == '') { echo "leeg"; } else { echo "Waarde!"; } ?>

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.130.0040.00418.42
8.3.120.0120.00618.85
8.3.110.0100.00616.62
8.3.100.0030.00616.79
8.3.90.0000.01126.77
8.3.80.0100.00019.36
8.3.70.0110.00416.50
8.3.60.0140.00416.25
8.3.50.0140.00617.26
8.3.40.0070.00718.81
8.3.30.0100.00718.53
8.3.20.0000.00818.48
8.3.10.0080.00020.53
8.3.00.0050.00319.26
8.2.250.0150.00018.24
8.2.240.0090.00018.87
8.2.230.0040.00420.94
8.2.220.0180.00024.06
8.2.210.0140.00026.77
8.2.200.0070.00418.88
8.2.190.0150.00018.41
8.2.180.0120.00916.32
8.2.170.0070.01122.96
8.2.160.0070.00722.12
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0030.00626.16
8.2.120.0040.00419.89
8.2.110.0090.00020.93
8.2.100.0040.00817.66
8.2.90.0000.00719.22
8.2.80.0030.00618.03
8.2.70.0040.00417.50
8.2.60.0050.00317.92
8.2.50.0000.00918.07
8.2.40.0070.00018.16
8.2.30.0050.00317.99
8.2.20.0040.00417.52
8.2.10.0040.00417.73
8.2.00.0040.00417.52
8.1.300.0070.01117.89
8.1.290.0060.00330.84
8.1.280.0090.01225.92
8.1.270.0070.00023.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00722.66
8.1.230.0070.00420.97
8.1.220.0000.00918.77
8.1.210.0000.00818.97
8.1.200.0030.00717.35
8.1.190.0000.00717.53
8.1.180.0080.00018.10
8.1.170.0000.00718.92
8.1.160.0000.00718.93
8.1.150.0070.00018.51
8.1.140.0050.00217.31
8.1.130.0030.00517.81
8.1.120.0070.00017.45
8.1.110.0040.00417.44
8.1.100.0040.00317.40
8.1.90.0030.00517.45
8.1.80.0040.00417.38
8.1.70.0000.00717.42
8.1.60.0050.00317.65
8.1.50.0040.00417.45
8.1.40.0040.00417.46
8.1.30.0070.00017.55
8.1.20.0040.00417.62
8.1.10.0040.00417.45
8.1.00.0040.00417.45
8.0.300.0060.00619.77
8.0.290.0000.00716.75
8.0.280.0000.00718.44
8.0.270.0030.00317.24
8.0.260.0000.00716.86
8.0.250.0040.00416.78
8.0.240.0000.00916.89
8.0.230.0030.00316.90
8.0.220.0000.00716.87
8.0.210.0000.00716.82
8.0.200.0030.00816.79
8.0.190.0040.00416.79
8.0.180.0050.00316.72
8.0.170.0050.00316.84
8.0.160.0000.00716.78
8.0.150.0040.00416.72
8.0.140.0070.00016.68
8.0.130.0050.00013.33
8.0.120.0000.00716.73
8.0.110.0030.00516.93
8.0.100.0040.00416.74
8.0.90.0000.00716.95
8.0.80.0050.00816.94
8.0.70.0000.00716.88
8.0.60.0040.00416.89
8.0.50.0040.00416.75
8.0.30.0160.00516.99
8.0.20.0080.01117.12
8.0.10.0040.00416.89
8.0.00.0090.01016.80
7.4.330.0030.00312.98
7.4.320.0030.00316.46
7.4.300.0000.00716.48
7.4.290.0000.00716.64
7.4.280.0080.00016.57
7.4.270.0000.00816.57
7.4.260.0000.00513.23
7.4.250.0000.00816.58
7.4.240.0070.00016.65
7.4.230.0040.00416.59
7.4.220.0140.00716.41
7.4.210.0080.00816.61
7.4.200.0040.00416.43
7.4.190.0070.00016.45
7.4.160.0060.00916.49
7.4.150.0070.01016.46
7.4.140.0070.01616.61
7.4.130.0050.01116.59
7.4.120.0080.00916.52
7.4.110.0090.00916.35
7.4.100.0040.01216.58
7.4.90.0030.01516.30
7.4.80.0130.00316.45
7.4.70.0080.00816.38
7.4.60.0090.01216.76
7.4.50.0070.00016.70
7.4.40.0060.01016.34
7.4.30.0100.00716.29
7.4.10.0130.00316.29
7.4.00.0050.01115.30
7.3.330.0000.00612.93
7.3.320.0050.00013.14
7.3.310.0070.00016.09
7.3.300.0030.00316.20
7.3.290.0070.01416.05
7.3.280.0080.01016.19
7.3.270.0070.01116.51
7.3.260.0080.01016.39
7.3.250.0090.01016.36
7.3.240.0090.01416.20
7.3.230.0070.01016.45
7.3.210.0150.00616.19
7.3.200.0110.00919.39
7.3.190.0130.00816.52
7.3.180.0100.00716.16
7.3.170.0100.01016.18
7.3.160.0100.00616.26
7.3.130.0060.01216.04
7.3.120.0070.00714.99
7.3.110.0080.00714.96
7.3.100.0060.00915.12
7.3.90.0070.00914.97
7.3.80.0070.00715.11
7.3.70.0060.00814.97
7.3.60.0070.00815.05
7.3.50.0040.00915.01
7.3.40.0070.00814.97
7.3.30.0070.00614.94
7.3.20.0050.00816.98
7.3.10.0040.01016.93
7.3.00.0070.00616.90
7.2.330.0150.00316.57
7.2.320.0100.00716.70
7.2.310.0240.00316.23
7.2.300.0110.00616.63
7.2.290.0100.01016.61
7.2.260.0090.00916.62
7.2.250.0100.00815.47
7.2.240.0090.00715.35
7.2.230.0070.00915.32
7.2.220.0050.00915.42
7.2.210.0040.00815.40
7.2.200.0100.00615.31
7.2.190.0070.00715.29
7.2.180.0050.00815.16
7.2.170.0060.00815.24
7.2.160.0080.00915.73
7.2.150.0020.01417.52
7.2.140.0060.00917.57
7.2.130.0060.00917.55
7.2.120.0060.00817.60
7.2.110.0020.01117.62
7.2.100.0060.00917.42
7.2.90.0070.00617.61
7.2.80.0120.00317.44
7.2.70.0050.00717.45
7.2.60.0060.00817.25
7.2.50.0060.00717.36
7.2.40.0060.00917.59
7.2.30.0020.01217.49
7.2.20.0030.01317.41
7.2.10.0070.00717.69
7.2.00.0080.00818.17
7.1.330.0110.00416.08
7.1.320.0060.00716.05
7.1.310.0060.00816.14
7.1.300.0060.00516.03
7.1.290.0090.00616.04
7.1.280.0080.00616.09
7.1.270.0030.01115.99
7.1.260.0050.00816.04
7.1.250.0070.00616.38
7.1.240.0040.01217.25
7.1.230.0090.00617.16
7.1.220.0040.00417.25
7.1.210.0060.00917.07
7.1.200.0110.00316.25
7.1.190.0040.01117.32
7.1.180.0040.00717.10
7.1.170.0040.01217.08
7.1.160.0100.00616.97
7.1.150.0040.01117.25
7.1.140.0000.01017.33
7.1.130.0130.00017.28
7.1.120.0120.00317.27
7.1.110.0090.00917.11
7.1.100.0050.00917.71
7.1.90.0030.01017.13
7.1.80.0080.00817.36
7.1.70.0030.01017.24
7.1.60.0050.00917.16
7.1.50.0060.01117.07
7.1.40.0030.00917.09
7.1.30.0070.00617.14
7.1.20.0030.00617.21
7.1.10.0060.01017.15
7.1.00.0070.03719.76
7.0.330.0060.00616.88
7.0.320.0070.00716.89
7.0.310.0000.01216.87
7.0.300.0030.01016.90
7.0.290.0070.00716.84
7.0.280.0030.01016.76
7.0.270.0060.00916.73
7.0.260.0120.00617.00
7.0.250.0060.00916.98
7.0.240.0130.00317.01
7.0.230.0110.00616.89
7.0.220.0000.01116.67
7.0.210.0090.00616.96
7.0.200.0020.01216.86
7.0.190.0000.01017.10
7.0.180.0090.00316.99
7.0.170.0060.00616.88
7.0.160.0070.00716.88
7.0.150.0030.01017.02
7.0.140.0100.03819.39
7.0.130.0080.00816.79
7.0.120.0040.03519.57
7.0.110.0030.03118.38
7.0.100.0170.02518.48
7.0.90.0050.03218.34
7.0.80.0030.02818.47
7.0.70.0060.02518.34
7.0.60.0030.02518.34
7.0.50.0080.04618.48
7.0.40.0030.02617.41
7.0.30.0080.02317.33
7.0.20.0080.02017.35
7.0.10.0030.02917.30
7.0.00.0020.03017.36
5.6.400.0070.00715.51
5.6.390.0000.01215.75
5.6.380.0000.01315.75
5.6.370.0070.00715.89
5.6.360.0030.01215.84
5.6.350.0080.00415.96
5.6.340.0110.00015.63
5.6.330.0070.00716.10
5.6.320.0100.00315.75
5.6.310.0030.00615.90
5.6.300.0060.00915.62
5.6.290.0080.00315.69
5.6.280.0050.04018.39
5.6.270.0040.01115.84
5.6.260.0040.02418.29
5.6.250.0040.02518.26
5.6.240.0040.02418.24
5.6.230.0050.02918.22
5.6.220.0050.02318.32
5.6.210.0080.02318.16
5.6.200.0050.02718.22
5.6.190.0120.01818.23
5.6.180.0080.02218.32
5.6.170.0020.02918.09
5.6.160.0050.02718.12
5.6.150.0030.02918.08
5.6.140.0080.02118.27
5.6.130.0050.02218.25
5.6.120.0090.02218.11
5.6.110.0020.02318.21
5.6.100.0100.02018.13
5.6.90.0020.02718.32
5.6.80.0050.02517.95
5.6.70.0080.02317.88
5.6.60.0050.02417.90
5.6.50.0020.02417.92
5.6.40.0070.02317.85
5.6.30.0030.04017.89
5.6.20.0070.04217.87
5.6.10.0080.04217.85
5.6.00.0090.04217.92
5.5.380.0090.02316.79
5.5.370.0110.02416.69
5.5.360.0070.02716.69
5.5.350.0100.02516.73
5.5.340.0080.03116.71
5.5.330.0120.02417.00
5.5.320.0060.02716.85
5.5.310.0110.02516.74
5.5.300.0120.01916.69
5.5.290.0080.02316.90
5.5.280.0130.02216.84
5.5.270.0100.02216.79
5.5.260.0090.03016.93
5.5.250.0060.02716.66
5.5.240.0140.02016.54
5.5.230.0090.02216.54
5.5.220.0100.04116.70
5.5.210.0070.04116.49
5.5.200.0120.04216.51
5.5.190.0070.02616.51
5.5.180.0100.03616.46
5.5.170.0170.00715.68
5.5.160.0050.02416.51
5.5.150.0060.03016.47
5.5.140.0050.02916.52
5.5.130.0040.04616.59
5.5.120.0030.02216.52
5.5.110.0110.03616.48
5.5.100.0060.02516.26
5.5.90.0080.03016.56
5.5.80.0080.03516.59
5.5.70.0070.02216.47
5.5.60.0080.03716.40
5.5.50.0050.02816.37
5.5.40.0020.02416.30
5.5.30.0080.02016.43
5.5.20.0080.01816.44
5.5.10.0050.02316.46
5.5.00.0030.04216.52
5.4.450.0020.02516.19
5.4.440.0020.02616.31
5.4.430.0070.02016.33
5.4.420.0040.02516.25
5.4.410.0030.02016.14
5.4.400.0050.01816.15
5.4.390.0050.01916.16
5.4.380.0030.01816.00
5.4.370.0030.02016.08
5.4.360.0080.02516.11
5.4.350.0060.02516.00
5.4.340.0080.04116.03
5.4.330.0050.00313.05
5.4.320.0020.04215.98
5.4.310.0080.03216.04
5.4.300.0030.04716.08
5.4.290.0060.02916.12
5.4.280.0080.03616.00
5.4.270.0060.03216.00
5.4.260.0060.01816.03
5.4.250.0080.02615.99
5.4.240.0070.03416.00
5.4.230.0050.04216.03
5.4.220.0080.03716.04
5.4.210.0000.02416.00
5.4.200.0130.03516.06
5.4.190.0040.03816.00
5.4.180.0060.03016.02
5.4.170.0080.04416.03
5.4.160.0030.04015.99
5.4.150.0000.04916.02
5.4.140.0040.02814.64
5.4.130.0130.00814.79
5.4.120.0020.02214.69
5.4.110.0090.01914.78
5.4.100.0030.02514.71
5.4.90.0040.02314.64
5.4.80.0040.03414.66
5.4.70.0080.03514.78
5.4.60.0060.02014.62
5.4.50.0030.02714.63
5.4.40.0050.04014.78
5.4.30.0050.04214.77
5.4.20.0060.01914.71
5.4.10.0030.02114.70
5.4.00.0050.03314.51
5.3.290.0070.03614.00
5.3.280.0050.04313.79
5.3.270.0100.03413.80
5.3.260.0070.04013.82
5.3.250.0040.02213.79
5.3.240.0060.03313.76
5.3.230.0050.03113.79
5.3.220.0040.02213.81
5.3.210.0050.02513.84
5.3.200.0090.01613.73
5.3.190.0060.03013.81
5.3.180.0050.03113.82
5.3.170.0050.02013.74
5.3.160.0040.03213.80
5.3.150.0110.03913.75
5.3.140.0030.02513.83
5.3.130.0050.03713.76
5.3.120.0080.03813.75
5.3.110.0020.02913.77
5.3.100.0020.03813.46
5.3.90.0020.04013.47
5.3.80.0020.04313.50
5.3.70.0060.03113.43
5.3.60.0080.02213.56
5.3.50.0070.02213.46
5.3.40.0050.03113.53
5.3.30.0020.02313.42
5.3.20.0040.03913.34
5.3.10.0020.02313.31
5.3.00.0050.02513.26
5.2.170.0070.06312.11
5.2.160.0030.06012.11
5.2.150.0100.03012.11
5.2.140.0070.05712.11
5.2.130.0130.03712.11
5.2.120.0100.04712.11
5.2.110.0070.06712.11
5.2.100.0070.02712.11
5.2.90.0030.05312.11
5.2.80.0000.03312.11
5.2.70.0030.05312.11
5.2.60.0100.05312.11
5.2.50.0030.04312.11
5.2.40.0070.02712.11
5.2.30.0000.03712.11
5.2.20.0070.05712.11
5.2.10.0070.03012.11
5.2.00.0030.03312.11
5.1.60.0000.03012.11
5.1.50.0000.03712.11
5.1.40.0070.03312.11
5.1.30.0070.05012.11
5.1.20.0070.04312.11
5.1.10.0000.04712.11
5.1.00.0000.03012.11
5.0.50.0000.02312.11
5.0.40.0030.03312.11
5.0.30.0000.04712.11
5.0.20.0030.04312.11
5.0.10.0070.04012.11
5.0.00.0000.03712.11
4.4.90.0000.03712.11
4.4.80.0000.02712.11
4.4.70.0000.02012.11
4.4.60.0000.03712.11
4.4.50.0000.02012.11
4.4.40.0030.02312.11
4.4.30.0000.02712.11
4.4.20.0000.01712.11
4.4.10.0070.03312.11
4.4.00.0000.03012.11
4.3.110.0000.02012.11
4.3.100.0000.03012.11
4.3.90.0000.01712.11
4.3.80.0030.04712.11
4.3.70.0030.01712.11
4.3.60.0000.03012.11
4.3.50.0000.01712.11
4.3.40.0030.03712.11
4.3.30.0030.01312.11
4.3.20.0030.03312.11
4.3.10.0030.03012.11
4.3.00.0000.02712.11

preferences:
88.24 ms | 403 KiB | 5 Q